On Sun, Jul 08, 2012 at 11:45:48PM -0700, Ben Pfaff wrote: g_object_get() returns a string copy, so the caller has to free it. Found by valgrind. --- Review appreciated.
It seems rather pointless to make a deep copy of this string, only to immediately free it. So if g_object_get insists on copying, then I suggest we just use gtk_widget_get_name which does not. J' -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://keys.gnupg.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list pspp-dev@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-dev