diff options
author | wm4 <wm4@nowhere> | 2014-08-31 19:51:41 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-31 19:51:41 +0200 |
commit | f59f1e532e46779b1758bedf972fdfce3a74ea44 (patch) | |
tree | 39a6f6f6b4b7bb655aafe37c7ec6c3b52a1b3abd /options/parse_commandline.c | |
parent | 866e0e1670f79653203a3da65096841ab37fc903 (diff) | |
download | mpv-f59f1e532e46779b1758bedf972fdfce3a74ea44.tar.bz2 mpv-f59f1e532e46779b1758bedf972fdfce3a74ea44.tar.xz |
client API: fix memory leak with rejected events
The event was copied early, and wasn't released if it was rejected
instead of being added to the event queue. Fix by copying the event at a
point when it's certainly added to the event queue.
The dup_event_data() function is merely moved.
Diffstat (limited to 'options/parse_commandline.c')
0 files changed, 0 insertions, 0 deletions