Fixed memory leak.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-06-03 10:00:21 +04:00
parent d2aad0716b
commit cc975c8024
1 changed files with 1 additions and 1 deletions

View File

@ -1747,7 +1747,7 @@ edit_replace_cmd (WEdit * edit, int again)
if (edit->search == NULL)
{
edit->search_start = edit->curs1;
return;
goto cleanup;
}
edit->search->search_type = edit_search_options.type;
edit->search->is_all_charsets = edit_search_options.all_codepages;