From 59a5e9993dd8e5c49e31323408e3181740adfa55 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sat, 16 Dec 2023 20:57:52 +0000 Subject: Fix invalid memory reference bug from recent cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4809 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/specialty/pnmindex.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editor') diff --git a/editor/specialty/pnmindex.c b/editor/specialty/pnmindex.c index d843cb4f..5bde6c54 100644 --- a/editor/specialty/pnmindex.c +++ b/editor/specialty/pnmindex.c @@ -341,7 +341,8 @@ copyImage(const char * const inputFileNm, pm_system2_lp("cat", &pm_feed_from_file, (void*)inputFileNm, &pm_accept_to_file, (void*)outputFileNm, - &termStatus); + &termStatus, + NULL); if (termStatus != 0) pm_error("'cat' to copy image '%s' to '%s' failed, " -- cgit 1.4.1