driver: New function output_log_nocopy().
[pspp] / src / language / expressions / evaluate.c
index 7543aed55e7ad29c167c9a5ee47c63b7d48660ec..d6d573848106b9fa8ca1bc8d4fc8ad9aa16659f4 100644 (file)
@@ -298,6 +298,5 @@ expr_debug_print_postfix (const struct expression *e)
           NOT_REACHED ();
         }
     }
-  output_log ("%s", ds_cstr (&s));
-  ds_destroy (&s);
+  output_log_nocopy (ds_steal_cstr (&s));
 }