From 01f7f530d5cdfe76e2dec1398ce71a7a5a94708b Mon Sep 17 00:00:00 2001
From: Murai Takashi <tmurai01@gmail.com>
Date: Mon, 6 Jan 2014 22:16:41 +0900
Subject: [PATCH 4/8] Fix memory leak
---
src/servers/app/drawing/DWindowHWInterface.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/servers/app/drawing/DWindowHWInterface.cpp b/src/servers/app/drawing/DWindowHWInterface.cpp
index 38b6c8a..68f9af8 100644
a
|
b
|
sprintf((char*)cloneInfoData, "graphics/%s", fCardNameInDevFS.String());
|
527 | 527 | STRACE(("unable to get B_CLONE_ACCELERANT\n")); |
528 | 528 | unload_add_on(fAccelerantImage); |
529 | 529 | fAccelerantImage = -1; |
| 530 | free(cloneInfoData); |
530 | 531 | return B_ERROR; |
531 | 532 | } |
532 | 533 | status_t ret = cloneAccelerant(cloneInfoData); |