i3 / i3lock

improved screen locker
https://i3wm.org/i3lock
BSD 3-Clause "New" or "Revised" License
921 stars 404 forks source link

Fix memory leak when grabbing fails #179

Closed karulont closed 6 years ago

karulont commented 6 years ago

Noticed this issue when running with valgrind.

When we retry to grab, we always create new reply objects without freeing them. This PR fixes that.

orestisfl commented 6 years ago

Up.

You need to leave a comment to send a notification.

Airblader commented 6 years ago

Indeed. Thanks to both of you!