Previous 199869 Revisions Next

r21283 Thursday 21st February, 2013 at 20:52:23 UTC by Oliver Stöneberg
fixed memory leak in find_default_device() (nw)
[src/lib/portmidi]finddefaultlinux.c

trunk/src/lib/portmidi/finddefaultlinux.c
r21282r21283
6363   }
6464   strcat(full_name, pref_3);
6565   inf = fopen(full_name, "r");
66   free(full_name);
6667   if (!inf) goto nopref; // cannot open preference file
6768   // We're not going to build or link in a full XML parser.
6869   // Instead, find the path string and quoute. Then, look for

Previous 199869 Revisions Next


© 1997-2024 The MAME Team