about summary refs log tree commit diff
path: root/converter/other/pnmtopclxl.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pnmtopclxl.c')
-rw-r--r--converter/other/pnmtopclxl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/converter/other/pnmtopclxl.c b/converter/other/pnmtopclxl.c
index 7ba64210..0737bf15 100644
--- a/converter/other/pnmtopclxl.c
+++ b/converter/other/pnmtopclxl.c
@@ -176,6 +176,7 @@ parseCommandLine(int argc, char ** argv,
     if (argc-1 < 1) {
         MALLOCVAR(cmdlineP->sourceP);
         cmdlineP->sourceP->name = "-";
+        cmdlineP->sourceP->next = NULL;
     } else {
         int i;
         InputSource ** nextLinkP;