CVSROOT: /cvs/gnome
Module name: gnet
Changes by: tpm 05/04/13 04:38:51
Modified files:
. : ChangeLog
src : conn-http.c
tests : conn_http_test.c
Log message:
* src/conn-http.c: (gnet_conn_http_append_to_buf),
(gnet_conn_http_reset), (gnet_conn_http_new),
(gnet_conn_http_steal_buffer):
Fix major memory leak in _steal_buffer(); avoid
making an unnecessary copy in _steal_buffer():
always allocate one more byte than required, so we
always have space for a terminating NUL.
* tests/conn_http_test.c: (test_simple_get):
Add missing g_free(buf) so we can use the test
to check for memory leaks.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnet&who=tpm&date=explicit&mindate=2005-04-13%2004:37&maxdate=2005-04-13%2004:39
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list