Re: g_strsplit() return
- From: Ian Liu Rodrigues <ian liu88 gmail com>
- To: Manuel Ferrero <mferrero reer it>
- Cc: gtk-list gnome org
- Subject: Re: g_strsplit() return
- Date: Thu, 9 Feb 2012 13:02:48 -0200
The "newly-allocated" means that I have to call g_strfreev(single_string_vector, TRUE) in the for loop or can I just do it once outside the cycle?
You must free inside the loop, since a vector is allocated in every iteration.
Regards,
Ian L. Rodrigues
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]