RSSyl: Allow use of .netrc by libcurl. Bug/enhancement #3309, by Vincent Pelletier
[claws.git] / src / plugins / rssyl / libfeed / feeditem.c
index d04831b2adc8a011a0014f226ba124a11d4925ee..a85852ed3c93eb6420affaa834854a1af5c6c65f 100644 (file)
@@ -352,7 +352,10 @@ FeedItem *feed_item_copy(FeedItem *item)
        nitem->id_is_permalink = item->id_is_permalink;
        nitem->xhtml_content = item->xhtml_content;
 
-       nitem->data = g_memdup(item->data, sizeof(item->data));
+       /* We have no way of knowing the size of object item->data is pointing
+        * to, so we can not reliably copy it to the new item. Caller will have
+        * to take care of that itself. */
+       nitem->data = NULL;
 
        return nitem;
 }