diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-08-08 07:58:21 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-08-08 07:58:21 +0300 |
commit | b4c90d78f00108647ce53d4b3d1a89b550fac4d5 (patch) | |
tree | 01062e743010da4f1f2ee8e88c7caf32c6d511a2 /mplayer.c | |
parent | c6141b03f49d91509592dc7e11e3f6fbcddd0e39 (diff) | |
download | mpv-b4c90d78f00108647ce53d4b3d1a89b550fac4d5.tar.bz2 mpv-b4c90d78f00108647ce53d4b3d1a89b550fac4d5.tar.xz |
options: support --leak-report (double dash form)
The special option --leak-report is manually checked so didn't
automatically get double-dash support. Update the test.
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3951,7 +3951,8 @@ int main(int argc, char *argv[]) pthread_win32_thread_attach_np(); atexit(detach_ptw32); #endif - if (argc > 1 && !strcmp(argv[1], "-leak-report")) + if (argc > 1 && (!strcmp(argv[1], "-leak-report") + || !strcmp(argv[1], "--leak-report"))) talloc_enable_leak_report(); char *mem_ptr; |