src/mess/osd/winui/propertiesms.c
| r7808 | r7809 | |
| 434 | 434 | |
| 435 | 435 | (void)ComboBox_InsertString(control, i, win_tstring_strdup(t_ramstring)); |
| 436 | 436 | (void)ComboBox_SetItemData(control, i, ram); |
| 437 | |
| 438 | global_free(t_ramstring); |
| 437 | 439 | } |
| 438 | 440 | if (config->extra_options != NULL) |
| 439 | 441 | { |
| r7808 | r7809 | |
| 474 | 476 | // set the combo box |
| 475 | 477 | (void)ComboBox_SetCurSel(control, current_index); |
| 476 | 478 | } |
| 479 | if (cfg != NULL) |
| 480 | { |
| 481 | /* Free the structure */ |
| 482 | machine_config_free(cfg); |
| 483 | } |
| 477 | 484 | return TRUE; |
| 478 | 485 | } |
| 479 | 486 | |