[xiph-cvs] cvs commit: icecast/src stats.c

Ed oddsock at xiph.org
Thu Jun 26 06:32:34 PDT 2003



oddsock     03/06/26 09:32:34

  Modified:    src      stats.c
  Log:
  - fixed small memory leak

Revision  Changes    Path
1.26      +2 -0      icecast/src/stats.c

Index: stats.c
===================================================================
RCS file: /usr/local/cvsroot/icecast/src/stats.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- stats.c	15 Mar 2003 02:10:17 -0000	1.25
+++ stats.c	26 Jun 2003 13:32:34 -0000	1.26
@@ -118,6 +118,8 @@
             free(event->source);
         if(event->value)
             free(event->value);
+        if(event->name)
+            free(event->name);
         next = event->next;
         free(event);
         event = next;

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list