SavingGoogleCode / tint2

tint2 is a lightweight panel/taskbar.
GNU General Public License v2.0
0 stars 0 forks source link

Review memory management #467

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Make sure malloc()/strdup() etc. is matched with free(), and g_strdup_*() etc. 
is matched with g_free().

Use standard C library allocation function only for char *, use glib functions 
only for gchar *.

Ref: https://developer.gnome.org/glib/stable/glib-Memory-Allocation.html

Original issue reported on code.google.com by mrovi9...@gmail.com on 8 Feb 2015 at 8:58

GoogleCodeExporter commented 9 years ago

Original comment by mrovi9...@gmail.com on 8 Feb 2015 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by mrovi9...@gmail.com on 8 Feb 2015 at 8:59

GoogleCodeExporter commented 9 years ago

Original comment by mrovi9...@gmail.com on 8 Feb 2015 at 8:59

GoogleCodeExporter commented 9 years ago
Done in r748. If any problems show up, we will reopen this or create new issues.

Original comment by mrovi9...@gmail.com on 11 Apr 2015 at 9:52