Fix a memory leak from e_source_webdav_prepare_ssl_trust_prompt()
authorMilan Crha <mcrha@redhat.com>
Wed, 6 Feb 2013 18:05:53 +0000 (19:05 +0100)
committerMilan Crha <mcrha@redhat.com>
Wed, 6 Feb 2013 18:06:29 +0000 (19:06 +0100)
libedataserver/e-source-webdav.c

index 1f1f082..d396860 100644 (file)
@@ -1423,6 +1423,7 @@ e_source_webdav_prepare_ssl_trust_prompt (ESourceWebdav *extension,
                if (response != E_TRUST_PROMPT_RESPONSE_UNKNOWN &&
                    g_strcmp0 (old_host, host) == 0 &&
                    g_strcmp0 (old_hash, hash) == 0) {
+                       g_byte_array_unref (bytes);
                        g_free (old_host);
                        g_free (old_hash);
                        g_free (hash);