memory leak question
"Cheuksan Edward Wang" <[email protected]> Mon, 15 Jan 2007 20:58:50 +0800
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
When I ran valgrind on my program, it shows me a memory leak in the
gtk_sheet_set_cell function in gtksheet.c.
line 3478:
if(text)
(*cell)->text=g_strdup(text);
It seems that this string in the cell is not freed when a gtk_sheet is
destroyed. Since my program creates and destroys sheets quite frequently,
this can be a problem. Does anyone have any idea to fix it?
Thanks
Cheuksan Wang
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Scigraphica-gtkextra mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra