summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/eet/eet_cipher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eet/eet_cipher.c b/src/lib/eet/eet_cipher.c
index 073d4bf8ef..65a8635929 100644
--- a/src/lib/eet/eet_cipher.c
+++ b/src/lib/eet/eet_cipher.c
@@ -889,6 +889,7 @@ eet_cipher(const void *data,
889 if (result) *result = out ? eina_binbuf_string_steal(out) : NULL; 889 if (result) *result = out ? eina_binbuf_string_steal(out) : NULL;
890 890
891 eina_binbuf_free(out); 891 eina_binbuf_free(out);
892 eina_binbuf_free(in);
892 return out ? EET_ERROR_NONE : EET_ERROR_ENCRYPT_FAILED; 893 return out ? EET_ERROR_NONE : EET_ERROR_ENCRYPT_FAILED;
893} 894}
894 895
@@ -910,5 +911,6 @@ eet_decipher(const void *data,
910 if (result) *result = out ? eina_binbuf_string_steal(out) : NULL; 911 if (result) *result = out ? eina_binbuf_string_steal(out) : NULL;
911 912
912 eina_binbuf_free(out); 913 eina_binbuf_free(out);
914 eina_binbuf_free(in);
913 return out ? EET_ERROR_NONE : EET_ERROR_DECRYPT_FAILED; 915 return out ? EET_ERROR_NONE : EET_ERROR_DECRYPT_FAILED;
914} 916}