GNOME Bugzilla – Bug 133518
possible double free
Last modified: 2004-12-22 21:47:04 UTC
When displaying attached file with testgtkhtml and malloc checking enabled, one gets a warning about invalid pointer passed to free(). It leads to crashes in more involved programs. $ MALLOC_CHECK_=1 tests/testgtkhtml malloc: using debugging hooks malloc: using debugging hooks malloc: using debugging hooks malloc: using debugging hooks malloc: using debugging hooks Initializing gnome-vfs... gtk_window: 456 browser_window: 456 signal "link_clicked" url = "file:/home/pawsa/html.html" free(): invalid pointer 0x8193c38! (lt-testgtkhtml:9519): HtmlCss-WARNING **: Unhandled property: 323 text-underline
Created attachment 24104 [details] test file
This happens on current CVS, I should add.
Created attachment 24143 [details] [review] Proposed patch
Does the proposed patch fix the problem?
It appears so! Thanks!
Committed patch to CVS HEAD.