about summary refs log tree commit diff stats
path: root/src/tools/http_upload.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/http_upload.c')
-rw-r--r--src/tools/http_upload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/http_upload.c b/src/tools/http_upload.c
index f126a72d..f52706e5 100644
--- a/src/tools/http_upload.c
+++ b/src/tools/http_upload.c
@@ -236,7 +236,7 @@ end:
     free(output.buffer);
 
     pthread_mutex_lock(&lock);
-    prefs_free_string(cert_path);
+    g_free(cert_path);
 
     if (err) {
         char *msg;