KevinTsui1234 / tint2

Automatically exported from code.google.com/p/tint2
GNU General Public License v2.0
1 stars 0 forks source link

Review memory management #467

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 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 8 years ago

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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 years ago

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

GoogleCodeExporter commented 8 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