clear element count when freeing space in element list
Index: alsa-lib/src/control/control.c =================================================================== RCS file: /cvsroot/alsa/alsa-lib/src/control/control.c,v retrieving revision 1.100 diff -u -r1.100 control.c --- alsa-lib/src/control/control.c 21 Oct 2003 17:39:14 -0000 1.100 +++ alsa-lib/src/control/control.c 3 Nov 2003 07:31:57 -0000 @@ -781,6 +781,7 @@ { free(obj->pids); obj->pids = NULL; + obj->space = 0; } /** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel