Closed RyuzakiKK closed 3 years ago
In xdg-open there are a lot of early returns and several variables were leaking.
To help cleaning variables before returning we can use the glib autoptr that has been already backported in "backport-autoptr.h".
I verified with valgrind that now there are no more "definitely" or "indirectly" leaks.
In xdg-open there are a lot of early returns and several variables were leaking.
To help cleaning variables before returning we can use the glib autoptr that has been already backported in "backport-autoptr.h".
I verified with valgrind that now there are no more "definitely" or "indirectly" leaks.