diff options
Diffstat (limited to 'urt')
-rw-r--r-- | urt/rle_open_f.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/urt/rle_open_f.c b/urt/rle_open_f.c index 7234afe9..0f1fc757 100644 --- a/urt/rle_open_f.c +++ b/urt/rle_open_f.c @@ -199,11 +199,11 @@ dealWithSubprocess(const char * const file_name, *noSubprocessP = FALSE; if (*mode == 'w') - asprintfN(&command, "compress > %s", file_name); + pm_asprintf(&command, "compress > %s", file_name); else if (*mode == 'a') - asprintfN(&command, "compress >> %s", file_name); + pm_asprintf(&command, "compress >> %s", file_name); else - asprintfN(&command, "compress -d < %s", file_name); + pm_asprintf(&command, "compress -d < %s", file_name); *fpP = my_popen(command, mode, &thepid); @@ -215,7 +215,7 @@ dealWithSubprocess(const char * const file_name, if (*catchingChildrenP < MAX_CHILDREN) pids[(*catchingChildrenP)++] = thepid; } - strfree(command); + pm_strfree(command); } else { *noSubprocessP = TRUE; *errorP = NULL; |