summaryrefslogtreecommitdiff
blob: dfdb8b03c8bdc218e907311913dc9541d2d5318e (plain)
1
2
3
4
5
6
7
8
9
10
--- src/mixer/bag.c.old	2005-03-16 14:39:05.000000000 +0900
+++ src/mixer/bag.c	2005-03-16 14:39:26.000000000 +0900
@@ -59,6 +59,7 @@
 		bag1_t *b = list_entry(pos, bag1_t, list);
 		if (b->ptr == ptr) {
 			list_del(&b->list);
+			free(b);
 			return 0;
 		}
 	}