r5285 jmb - /trunk/hubbub/src/tokeniser/tokeniser.c

netsurf at semichrome.net netsurf at semichrome.net
Mon Sep 8 12:20:57 BST 2008


Author: jmb
Date: Mon Sep  8 06:20:56 2008
New Revision: 5285

URL: http://source.netsurf-browser.org?rev=5285&view=rev
Log:
Squash memory leak

Modified:
    trunk/hubbub/src/tokeniser/tokeniser.c

Modified: trunk/hubbub/src/tokeniser/tokeniser.c
URL: http://source.netsurf-browser.org/trunk/hubbub/src/tokeniser/tokeniser.c?rev=5285&r1=5284&r2=5285&view=diff
==============================================================================
--- trunk/hubbub/src/tokeniser/tokeniser.c (original)
+++ trunk/hubbub/src/tokeniser/tokeniser.c Mon Sep  8 06:20:56 2008
@@ -333,6 +333,8 @@
 				0, tokeniser->alloc_pw);
 	}
 
+	parserutils_buffer_destroy(tokeniser->buffer);
+
 	tokeniser->alloc(tokeniser, 0, tokeniser->alloc_pw);
 }
 




More information about the netsurf-commits mailing list