1
From 89c36d73379431f1f7fe7354b23bf22a535085a4 Mon Sep 17 00:00:00 2001
2
From: Colin Ian King <colin.king@canonical.com>
3
Date: Mon, 10 Mar 2014 16:42:03 +0000
4
Subject: [PATCH 26/28] fix leak of trip_ptr in read_trip_points
6
trip_ptr is being leaked in read_trip_points, ensure we
7
free it before we return
9
Signed-off-by: Colin Ian King <colin.king@canonical.com>
11
src/thd_zone_surface.cpp | 1 +
12
1 file changed, 1 insertion(+)
14
diff --git a/src/thd_zone_surface.cpp b/src/thd_zone_surface.cpp
15
index a2838fd..7f1cbe9 100644
16
--- a/src/thd_zone_surface.cpp
17
+++ b/src/thd_zone_surface.cpp
18
@@ -73,6 +73,7 @@ int cthd_zone_surface::read_trip_points() {
20
trip_points.push_back(*trip_ptr);