diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-14 20:02:48 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-14 20:02:48 +0400 |
commit | 3fbcf7f04616acf1f367af6d1c9c7ac271edf551 (patch) | |
tree | 2b3a800aff2df708da5a548aa9fc9e7d9dfb8e4c /src/json | |
parent | 95e1c49982ab09db2e2fa799886edd32bebb1404 (diff) | |
download | rspamd-3fbcf7f04616acf1f367af6d1c9c7ac271edf551.tar.gz rspamd-3fbcf7f04616acf1f367af6d1c9c7ac271edf551.zip |
* Sync log before closing
* Fix buffer allocation while reading json data
Diffstat (limited to 'src/json')
-rw-r--r-- | src/json/hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json/hashtable.c b/src/json/hashtable.c index b3ea0d62a..43e851382 100644 --- a/src/json/hashtable.c +++ b/src/json/hashtable.c @@ -235,7 +235,7 @@ hashtable_close (hashtable_t * hashtable) hashtable->free_key (pair->key); if (hashtable->free_value) hashtable->free_value (pair->value); - g_free (pair); + g_free (pair); } g_free (hashtable->buckets); |