To leak or seg to fault ?



1. Should I free() all strings returned from gtk_* methods or not ?
2. Should I strdup() all strings passed to gtk_* methods or not ?
   If yes, should I strdup() r/o ones too ?
3. If not all, which ones ?




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