# HG changeset patch # User Matti Hamalainen # Date 1348088166 -10800 # Node ID c0eefd6b2d1185b07dde5fab4c46f4db6c9787b3 # Parent eef9c6312b887392d7e75b71276f10a1fd83dbb6# Parent c12b66ec0362ca92100f8d31446f03cdbf57716a Merged. diff -r eef9c6312b88 -r c0eefd6b2d11 th_util.c --- a/th_util.c Wed Sep 19 23:55:44 2012 +0300 +++ b/th_util.c Wed Sep 19 23:56:06 2012 +0300 @@ -490,8 +490,10 @@ int i; for (i = 0; i < buf->size; i++) + { if (buf->data[i] != NULL) buf->deallocator(buf->data[i]); + } th_free(buf->data); th_free(buf);