diff options
author | wm4 <wm4@nowhere> | 2017-04-12 14:12:26 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-12 14:12:41 +0200 |
commit | dc5dfa5c929d2bf079cd8085338b9dc91c3fa8e3 (patch) | |
tree | e5b9c8b81ee59a793099451cf0bb652b7c303979 /osdep/io.c | |
parent | 7497b633e9ffbc48cda46215b2d5b1194a3b3a5f (diff) | |
download | mpv-dc5dfa5c929d2bf079cd8085338b9dc91c3fa8e3.tar.bz2 mpv-dc5dfa5c929d2bf079cd8085338b9dc91c3fa8e3.tar.xz |
win32: fix mismatched free/talloc_free
Might fix #4315.
Diffstat (limited to 'osdep/io.c')
-rw-r--r-- | osdep/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/io.c b/osdep/io.c index cee5acd605..260a998bad 100644 --- a/osdep/io.c +++ b/osdep/io.c @@ -350,7 +350,7 @@ char *mp_win32_getcwd(char *buf, size_t size) return NULL; } char *t = mp_to_utf8(NULL, wres); - free(wres); + talloc_free(wres); size_t st = strlen(t); if (st >= size) { talloc_free(t); |