mako icon indicating copy to clipboard operation
mako copied to clipboard

RFC: Fix leaks of mako_notification in handle_notify()

Open psqli opened this issue 3 years ago • 1 comments

Unify clean up on error with goto statements.

Is freeing the expected behavior?

psqli avatar Aug 24 '21 03:08 psqli

Also, the commit 4dc382ecc7585d729723 ("Allow create_notification outside handle_notify") introduced strdup() calls inside reset_notification(), which is called by destroy_notification() just before notif is freed.

psqli avatar Aug 24 '21 16:08 psqli