Commit b4adbba8 authored by Rémi Duraffort's avatar Rémi Duraffort

Qt/playlist: fix memleak.

parent 15e4aff7
...@@ -66,7 +66,7 @@ public: ...@@ -66,7 +66,7 @@ public:
PLEvent( playlist_add_t *a ) : QEvent( (QEvent::Type)(ItemAppend_Type) ) PLEvent( playlist_add_t *a ) : QEvent( (QEvent::Type)(ItemAppend_Type) )
{ p_add = a; }; { p_add = a; };
virtual ~PLEvent() {}; virtual ~PLEvent() { free( p_add ); };
int i_id; int i_id;
playlist_add_t *p_add; playlist_add_t *p_add;
......
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