mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
(mc_search_regex__process_append_str): fix possible dereference of null pointer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
e7252b6603
commit
708f474d1e
@ -596,10 +596,6 @@ mc_search_regex__process_append_str (GString * dest_str, const char *from, gsize
|
||||
g_string_append_len (dest_str, tmp_string->str, tmp_string->len);
|
||||
g_string_free (tmp_string, TRUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
g_string_append_len (dest_str, tmp_str, tmp_string->len);
|
||||
}
|
||||
|
||||
g_free (tmp_str);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user