[libhandy] swipe-tracker: Fix a memory leak
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy] swipe-tracker: Fix a memory leak
- Date: Thu, 23 Sep 2021 06:55:17 +0000 (UTC)
commit 79604659605301a1070b1375256392f1a7b943dd
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Thu Sep 23 09:37:12 2021 +0530
swipe-tracker: Fix a memory leak
src/hdy-swipe-tracker.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/hdy-swipe-tracker.c b/src/hdy-swipe-tracker.c
index 1a2ff1dc..e98d63b2 100644
--- a/src/hdy-swipe-tracker.c
+++ b/src/hdy-swipe-tracker.c
@@ -934,6 +934,7 @@ hdy_swipe_tracker_dispose (GObject *object)
g_object_set_data (G_OBJECT (self->swipeable), "captured-event-handler", NULL);
+ g_clear_pointer (&self->event_history, g_array_unref);
g_clear_object (&self->touch_gesture);
g_clear_object (&self->swipeable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]