From 9fb23e872e0b3ff992bc017edfec001f48f67ef5 Mon Sep 17 00:00:00 2001
From: Lioncash <mathew1800@gmail.com>
Date: Sat, 27 Sep 2014 13:58:26 -0400
Subject: [PATCH] ResourceUsageWindow: Fix mismatching alloc/deallocs
---
src/apps/devices/ResourceUsageWindow.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/apps/devices/ResourceUsageWindow.cpp b/src/apps/devices/ResourceUsageWindow.cpp
index 0cc13fa..d7c9aa1 100644
a
|
b
|
IRQDMAItem::IRQDMAItem(int32 number, const char* name)
|
50 | 50 | |
51 | 51 | IRQDMAItem::~IRQDMAItem() |
52 | 52 | { |
53 | | delete fName; |
| 53 | free(fName); |
54 | 54 | } |
55 | 55 | |
56 | 56 | /*********************************************************** |
… |
… |
RangeItem::RangeItem(uint32 lowAddress, uint32 highAddress, const char* name)
|
120 | 120 | |
121 | 121 | RangeItem::~RangeItem() |
122 | 122 | { |
123 | | delete fName; |
| 123 | free(fName); |
124 | 124 | } |
125 | 125 | |
126 | 126 | /*********************************************************** |