Fix crash when adding favorite

master
boisso 8 years ago
parent aac941d083
commit 664d56b26a
  1. 2
      k-meleon/ie_favorites/ie_utils.cpp

@ -384,7 +384,7 @@ int addLink(char *url, char *title, char *iconurl)
return false;
newNode->url = CUTF8_to_T(url);
newNode->iconurl = CUTF8_to_T(iconurl);
if (iconurl) newNode->iconurl = CUTF8_to_T(iconurl);
if (CreateFavorite(newNode) == 0) {
delete gFavoritesRoot.child;

Loading…
Cancel
Save