Free selected text, even if it is an empty string
This commit is contained in:
parent
97793d88cb
commit
3b9abe6306
1 changed files with 1 additions and 0 deletions
|
@ -1201,5 +1201,6 @@ midori_web_view_has_selection (MidoriWebView* web_view)
|
||||||
g_free (text);
|
g_free (text);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
g_free (text);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue