Fix crash when adding favorite

import/tags/kmeleon74
boisso 8 years ago
parent ad486de8ae
commit af96331514
  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