counteract the tfree(macro_str) introduced in 'inpcom.c: plug memory leaks'

this one:
commit 810f72f850f8177275f17fc635d97b71b911ec0d
Author: h_vogt <h_vogt>
Date:   Sun Sep 8 13:01:26 2013 +0200

    inpcom.c: plug memory leaks
This commit is contained in:
rlar 2013-09-12 19:40:01 +02:00
parent a737ab1743
commit 534694645d
1 changed files with 1 additions and 1 deletions

View File

@ -3000,7 +3000,7 @@ inp_do_macro_param_replace(struct function *fcn, char *params[])
for (i = 0; i < fcn->num_parameters; i++) {
if (curr_str == NULL) {
search_ptr = curr_ptr = fcn->macro;
search_ptr = curr_ptr = strdup(fcn->macro);
} else {
search_ptr = curr_ptr = curr_str;
curr_str = NULL;