OT Re: When to g_free()



> Should I be g_free()ing my gtk_editable_get_chars()?  Is there a rule of
thumb
> to follow that will make it easier to figure out what to free and what
doesn't
> need to be freed?

If it crashes, you probably shouldn't have freed it :)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]