about summary refs log tree commit diff
path: root/converter/other/pngtopam.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pngtopam.c')
-rw-r--r--converter/other/pngtopam.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/converter/other/pngtopam.c b/converter/other/pngtopam.c
index 9609ff4e..f7767404 100644
--- a/converter/other/pngtopam.c
+++ b/converter/other/pngtopam.c
@@ -471,11 +471,11 @@ dumpPngInfo(struct pngx * const pngxP) {
 
     switch (info_ptr->filter_type) {
     case PNG_FILTER_TYPE_BASE:
-        asprintfN(&filter_string, "base filter");
+        pm_asprintf(&filter_string, "base filter");
         break;
     default:
-        asprintfN(&filter_string, "unknown filter type %d", 
-                  info_ptr->filter_type);
+        pm_asprintf(&filter_string, "unknown filter type %d", 
+                    info_ptr->filter_type);
     }
 
     pm_message("reading a %ldw x %ldh image, %d bit%s",
@@ -494,7 +494,7 @@ dumpPngInfo(struct pngx * const pngxP) {
                info_ptr->background.green,
                info_ptr->background.blue);
 
-    strfree(filter_string);
+    pm_strfree(filter_string);
 
     if (info_ptr->valid & PNG_INFO_tRNS)
         pm_message("tRNS chunk (transparency): %u entries",