Use p_new instead of xmalloc()
[apps/madmutt.git] / pgppubring.c
index b98b321..d7e5612 100644 (file)
@@ -773,9 +773,7 @@ static void pgpring_find_candidates (char *ringfile, const char *hints[],
 
     FGETPOS (rfp, pos);
   }
-
-  fclose (rfp);
-
+  m_fclose(&rfp);
 }
 
 static void print_userid (const char *id)