Use p_new instead of xmalloc()
[apps/madmutt.git] / pgpewrap.c
index b3a84c0..f149fdc 100644 (file)
@@ -10,7 +10,7 @@
 #include <unistd.h>
 #include <string.h>
 
-void print_usage (const char *progname)
+static void print_usage (const char *progname)
 {
   fprintf (stderr, "Command line usage: %s [flags] -- prefix [recipients]\n",
            progname);
@@ -26,7 +26,7 @@ int main (int argc, char **argv)
     print_usage (argv[0]);
   }
 
-  opts = malloc ((2 * argc + 1) * sizeof (*opts));      /* __MEM_CHECKED__ */
+  opts = malloc((2 * argc + 1) * sizeof (*opts));
   if (!opts) {
     perror (argv[0]);
     exit (2);