[xiph-cvs] cvs commit: vorbis-tools/ogg123 buffer.c
Kenneth C. Arnold
kcarnold at xiph.org
Sat May 12 14:24:20 PDT 2001
kcarnold 01/05/12 14:24:20
Modified: ogg123 buffer.c
Log:
Fixes bug #14 (ogg123 -b memory leak). Keep 'em coming. Thanks to
William T. Mahan <wtm2 at duke.edu> for tracking this down.
Revision Changes Path
1.5 +2 -1 vorbis-tools/ogg123/buffer.c
Index: buffer.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/buffer.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- buffer.c 2001/03/22 05:43:48 1.4
+++ buffer.c 2001/05/12 21:24:19 1.5
@@ -173,5 +173,6 @@
tv.tv_usec = 0;
select (0, NULL, NULL, NULL, &tv);
}
+ /* Deallocate the shared memory segment. */
+ shmdt(buf);
}
-
--- >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