Commit 4f81c769 4f81c7692b1ebca0c1deec9f656fcbbed2b98fa3 by Sergey Poznyakoff

Bugfix

* mu/dbm.c (add_records): Reference mu_strin before using it for
input.
1 parent 1c291e80
Showing 1 changed file with 3 additions and 0 deletions
...@@ -1180,7 +1180,10 @@ add_records (int mode, int replace) ...@@ -1180,7 +1180,10 @@ add_records (int mode, int replace)
1180 } 1180 }
1181 } 1181 }
1182 else 1182 else
1183 {
1183 instream = mu_strin; 1184 instream = mu_strin;
1185 mu_stream_ref (instream);
1186 }
1184 1187
1185 rc = mu_filter_create_args (&flt, instream, "inline-comment", 1188 rc = mu_filter_create_args (&flt, instream, "inline-comment",
1186 MU_ARRAY_SIZE (flt_argv) - 1, flt_argv, 1189 MU_ARRAY_SIZE (flt_argv) - 1, flt_argv,
......