[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    silly C question
From:       <ralsina () kde ! org>
Date:       2002-04-25 18:25:41
[Download RAW message or body]


I seem to have forgotten C :-)

If a function is returning me a char ** and telling me I am responsible
for free()ing it, what is the right way?

free(var) would just leak a lot of stuff, right?

 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`)  ralsina@kde.org
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'           
(l)-'' ((i).' ((!.'             Buenos Aires - Argentina
Futuaris nisi irrisus ridebis. (Carlton, De rerum comoedia)


 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic