diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-11-17 15:26:55 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-11-21 10:28:27 +0100 |
commit | f3b9d46c75675e9b4b451164dd32ed9b1af0dfb1 (patch) | |
tree | 5b66cf37d54e3b447e3087cc27b03eeb7ae332f7 /egg/egg-decimal.c | |
parent | 97cd79171dfbba24394f070f3946b20c2d518d2d (diff) | |
download | gcr-f3b9d46c75675e9b4b451164dd32ed9b1af0dfb1.tar.gz |
Add valgrind memory checking and fix up errors
* This is especially necessary after migrating to EggBytes
since it's reference counted and an easy sourc of memory leaks
* Remove threading from testing framework, as gcr isn't threadsafe
in all parts.
* Fix bugs discovered in memory checking.
* Fix up some of the testing stuff.
Diffstat (limited to 'egg/egg-decimal.c')
-rw-r--r-- | egg/egg-decimal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/egg/egg-decimal.c b/egg/egg-decimal.c index 6f3921d..422ec0c 100644 --- a/egg/egg-decimal.c +++ b/egg/egg-decimal.c @@ -97,5 +97,7 @@ egg_decimal_decode (const gchar *data, memmove (usg, at_byte, length); if (n_decoded) *n_decoded = length; + + g_free (digits); return usg; } |