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:
Andrew Borodin 2010-02-23 14:36:15 +03:00
commit 7e0302cd3a
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ mc_search__hex_translate_to_regex (gchar * str, gsize * len)
}
loop++;
}
g_free (tmp_str);
*len = buff->len;
return buff;
}