summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-31 19:51:41 +0200
committerwm4 <wm4@nowhere>2014-08-31 19:51:41 +0200
commitf59f1e532e46779b1758bedf972fdfce3a74ea44 (patch)
tree39a6f6f6b4b7bb655aafe37c7ec6c3b52a1b3abd /common
parent866e0e1670f79653203a3da65096841ab37fc903 (diff)
downloadmpv-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 'common')
0 files changed, 0 insertions, 0 deletions