about summary refs log tree commit diff stats
path: root/src/otr
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-07-02 11:31:54 +0200
committerMichael Vetter <jubalh@iodoru.org>2020-07-02 11:34:12 +0200
commite5ac12afa63457316793fa797d1a04202483ea05 (patch)
tree1b959a098338a89083c48f6310de7960cfffb4c9 /src/otr
parent9774b0c5509193027d4f68df9dcb862455699cfc (diff)
downloadprofani-tty-e5ac12afa63457316793fa797d1a04202483ea05.tar.gz
Remove prefs_free_string()
It just does a free.
Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index 21bb222e..5c9f11be 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -700,7 +700,7 @@ otr_get_policy(const char *const recipient)
         result = PROF_OTRPOLICY_ALWAYS;
     }
 
-    prefs_free_string(pref_otr_policy);
+    g_free(pref_otr_policy);
 
     return result;
 }