Re: gtk-app-devel-list digest, Vol 1 #592 - 5 msgs



Hi, 
It looks like GTK to allocate memory at his own risk, because you have to
free it when you finish you application (well, a bit before this). You can
just try it without malloc, and if you don't get a segfault, it was true.


What about memory? Does GTK allocates (new) memory for this chars
pointed by my_text? From the other hand: do I have to free memory
pointed by my_text after using it??

-- 
Maciej Hrebien

--
-------------------------
Alberto Cabello Sánchez
alberto unex es
Servicio de Informática
Universidad de Extremadura
924 298 351 - 924 289 352
--------------------------
Debian Woody
Sylpheed 0.5.2
==========================




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