Previous 15994 Revisions Next

r15263 Monday 21st May, 2012 at 18:18:10 UTC by Sandro Ronco
Fixed memory leak in cybiko.c (nw)
[src/mess/machine]cybiko.c

src/mess/machine/cybiko.c
r15262r15263
7373   astring fname(machine.system().name, PATH_SEPARATOR, name, ".nv");
7474   emu_file *file = global_alloc(emu_file(machine.options().nvram_directory(), openflags));
7575   filerr = file->open(fname.cstr());
76   return (filerr == FILERR_NONE) ? file : NULL;
76   if (filerr == FILERR_NONE)
77      return file;
78
79   global_free(file);
80   return NULL;
7781}
7882
7983typedef void (nvram_load_func)(running_machine &machine, emu_file *file);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team