diff options
Diffstat (limited to 'plugins/fishlim/test.c')
-rw-r--r-- | plugins/fishlim/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/fishlim/test.c b/plugins/fishlim/test.c index b4dc8d91..91a9ede1 100644 --- a/plugins/fishlim/test.c +++ b/plugins/fishlim/test.c @@ -47,7 +47,7 @@ static int decrypt(int nick_count, char *nicks[]) { return 1; success: fprintf(stderr, "Decrypted text >>>%s<<<\n", msg); - free(msg); + g_free(msg); } return 0; } @@ -64,7 +64,7 @@ static int encrypt(int nick_count, char *nicks[]) { char *encrypted = fish_encrypt_for_nick(nicks[i], message); if (encrypted) { fprintf(stderr, "Encrypted [%s]: >>>%s<<<\n", nicks[i], encrypted); - free(encrypted); + g_free(encrypted); } else { error = true; } |