mirror of https://github.com/MidnightCommander/mc
Merge branch '2028_hex_search_memleak'
* 2028_hex_search_memleak: Ticket #2028: fixed memory leak in mc_search__hex_translate_to_regex() function.
This commit is contained in:
commit
7e0302cd3a
|
@ -87,6 +87,9 @@ mc_search__hex_translate_to_regex (gchar * str, gsize * len)
|
|||
}
|
||||
loop++;
|
||||
}
|
||||
|
||||
g_free (tmp_str);
|
||||
|
||||
*len = buff->len;
|
||||
return buff;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue