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 /gcr/gcr-openssh.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 'gcr/gcr-openssh.c')
-rw-r--r-- | gcr/gcr-openssh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcr/gcr-openssh.c b/gcr/gcr-openssh.c index e8eef4a..0055078 100644 --- a/gcr/gcr-openssh.c +++ b/gcr/gcr-openssh.c @@ -135,6 +135,7 @@ read_decimal_mpi (const gchar *decimal, return FALSE; gck_attributes_add_data (attrs, attribute_type, data, n_data); + g_free (data); return TRUE; } |