Re: When to g_free()
- From: Havoc Pennington <hp redhat com>
- To: matthew mattshouse com
- Cc: gtk-list gnome org
- Subject: Re: When to g_free()
- Date: 15 Jun 2000 15:23:07 -0400
Matthew <matthew@mattshouse.com> writes:
> 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?
>
Returned strings need to be freed, except for legacy functions that
don't follow the convention.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]