chiark / gitweb /
msg: Use correct free function.
[mgLib] / msg.c
diff --git a/msg.c b/msg.c
index 07f011258b45979518eeac4878f479c7438f69b4..2623225bfbcb6c121860388ddd44c49d32792004 100644 (file)
--- a/msg.c
+++ b/msg.c
@@ -153,7 +153,7 @@ int msg(const char *title, const char *buttons, const char *msg, ...)
        cancel(GTK_WINDOW(dbox), w);
       gtk_widget_show(w);
     }
-    free(p);
+    xfree(p);
 
     /* --- Preflight checklist --- */