driver: New function output_log_nocopy().
[pspp] / src / language / utilities / host.c
index 477f9796a01ac519d91c684b78a3fa53032f7ff0..d730e02634860e4286a7ca245e45bc810394ed9a 100644 (file)
@@ -261,8 +261,7 @@ run_command (const char *command, struct timespec timeout)
       if (end > output && end[-1] == '\n')
         end[-1] = '\0';
 
-      output_log ("%s", output);
-      free (output);
+      output_log_nocopy (output);
     }
   free (locale_output);