summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui.c
diff options
context:
space:
mode:
author Scott Stone <tafoid@users.noreply.github.com>2010-04-23 17:10:03 +0000
committer Scott Stone <tafoid@users.noreply.github.com>2010-04-23 17:10:03 +0000
commitca0f74f3344acdc0aec6d378acaf02b5ca80c7a0 (patch)
tree8a03e04dbfa9d3bbd7102bdd47082095e37103b1 /src/emu/ui.c
parent2d638c26912b9dec089c9abb99b7c06b374c96c4 (diff)
Fix the memory leaks with the strconv.c function by
using osd_malloc() instead. Fixed other memory leaks as well. [Oliver Stoneberg]
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r--src/emu/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c
index 747efb3ee66..3974e767990 100644
--- a/src/emu/ui.c
+++ b/src/emu/ui.c
@@ -1246,7 +1246,7 @@ void ui_paste(running_machine *machine)
inputx_post_utf8(machine, text);
/* free the string */
- free(text);
+ osd_free(text);
}
}