| Previous | 15994 Revisions | Next |
| r7987 Friday 7th May, 2010 at 16:43:29 UTC by Firewave |
|---|
| [MULTICARD] Fixed memory leak |
| [src/mess/devices] | multcart.c |
| r7986 | r7987 | |
|---|---|---|
| 254 | 254 | /* Save the file name so that we can write the contents on unloading. |
| 255 | 255 | If the RAM resource has no filename, we know that it was volatile only. */ |
| 256 | 256 | resource->filename = pool_strdup_lib(state->multicart->data->pool, astring_c(ram_pathname)); |
| 257 | astring_free(ram_pathname); | |
| 257 | 258 | if (resource->filename == NULL) |
| 258 | 259 | return MCERR_OUT_OF_MEMORY; |
| 259 | 260 |
| Previous | 15994 Revisions | Next |