Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : apps/euphoria

Dir     : e17/apps/euphoria/src


Modified Files:
        playlist_item.c 


Log Message:
free playlist item properties when we're done with it
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/euphoria/src/playlist_item.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- playlist_item.c     1 Mar 2004 10:47:04 -0000       1.8
+++ playlist_item.c     20 Mar 2004 11:29:44 -0000      1.9
@@ -1,5 +1,5 @@
 /*
- * $Id: playlist_item.c,v 1.8 2004/03/01 10:47:04 tsauerbeck Exp $
+ * $Id: playlist_item.c,v 1.9 2004/03/20 11:29:44 tsauerbeck Exp $
  * vim:noexpandtab:sw=4:sts=4:ts=4
  */
 
@@ -109,6 +109,9 @@
 void playlist_item_free(PlayListItem *pli) {
        assert(pli);
 
+       if (pli->properties)
+               xmmsc_playlist_entry_free(pli->properties);
+
        if (pli->container && pli->edje)
                e_container_element_destroy(pli->container, pli->edje);
 
@@ -149,6 +152,9 @@
        if (pli->properties == p)
                return;
 
+       if (pli->properties)
+               xmmsc_playlist_entry_free(pli->properties);
+
        pli->properties = p;
 
        if (pli->edje)




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to