Skip to contentSkip to conversation

Memory managment.

DISCUSSION Peter Enderborg 1 participant 1 message May 5, 2002

lore
Share & tools
lore
#0 lore raw

I have some memory problems with my alsa programming. And I have tryed to do a small program to see whats wrong. And I still have the same problem with this little program...

#include <alsa/asoundlib.h>
int main()
{
while (1)

    {
      snd_seq_event_t *foo;
      foo = snd_seq_create_event();
      snd_seq_free_event(foo);
    }

return 0;
}

I guess that I have missed some fundamental things about the events. This on cvs version from 20020504

--
foo!

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm