Commit 19f23817 authored by Rémi Duraffort's avatar Rémi Duraffort

rss: fix object leak.

(cherry picked from commit 4fa2ca55)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 7a7367bc
......@@ -47,7 +47,7 @@
#include "vlc_xml.h"
#include <vlc_charset.h>
#include "vlc_image.h"
#include <vlc_image.h>
#include <time.h>
......@@ -719,6 +719,7 @@ static int FetchRSS( filter_t *p_filter)
if( !p_stream )
{
msg_Err( p_filter, "Failed to open %s for reading", psz_feed );
xml_Delete( p_xml );
return 1;
}
......@@ -726,6 +727,7 @@ static int FetchRSS( filter_t *p_filter)
if( !p_xml_reader )
{
msg_Err( p_filter, "Failed to open %s for parsing", psz_feed );
xml_Delete( p_xml );
return 1;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment