diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-10-01 23:49:49 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-10-14 10:24:34 +0200 |
commit | 189b1691dc905eddd33dca64c6f5017a5b08f9ef (patch) | |
tree | f88143a9a175bdf25fa4d5512d968bf26ea39aee | |
parent | ad491800f0538d2698b16edb2a646a5ffbad16bc (diff) |
Free GcrPkcs11Importer::queue in dispose()
Its content is freed by emptying it, but the main data structure
must be freed too with g_queue_free().
https://bugzilla.gnome.org/show_bug.cgi?id=738508
-rw-r--r-- | gcr/gcr-pkcs11-importer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcr/gcr-pkcs11-importer.c b/gcr/gcr-pkcs11-importer.c index 650321e..2bd16cc 100644 --- a/gcr/gcr-pkcs11-importer.c +++ b/gcr/gcr-pkcs11-importer.c @@ -578,6 +578,7 @@ _gcr_pkcs11_importer_dispose (GObject *obj) while (!g_queue_is_empty (self->queue)) gck_attributes_unref (g_queue_pop_head (self->queue)); + g_queue_free (self->queue); G_OBJECT_CLASS (_gcr_pkcs11_importer_parent_class)->dispose (obj); } |