summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-03-19 17:05:54 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-19 17:05:54 +0000
commit082ac80827e538528fd0b9cba362742f62e1f5ff (patch)
tree30a06d702045a3eacbabc4a07c5492c4ab7d9544
parent8e70f63aba8e14f3b40b2a0769522505c1019c33 (diff)
parentb4ebc475e678e1dce5e4c78436a0b2fc4813159d (diff)
downloadsystem_core-082ac80827e538528fd0b9cba362742f62e1f5ff.zip
system_core-082ac80827e538528fd0b9cba362742f62e1f5ff.tar.gz
system_core-082ac80827e538528fd0b9cba362742f62e1f5ff.tar.bz2
am b4ebc475: Merge "Fix memory leak on jdwp_process_free()"
* commit 'b4ebc475e678e1dce5e4c78436a0b2fc4813159d': Fix memory leak on jdwp_process_free()
-rw-r--r--adb/fdevent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/adb/fdevent.cpp b/adb/fdevent.cpp
index 45d33db..eeb2a9c 100644
--- a/adb/fdevent.cpp
+++ b/adb/fdevent.cpp
@@ -587,6 +587,7 @@ void fdevent_destroy(fdevent *fde)
FATAL("fde %p not created by fdevent_create()\n", fde);
}
fdevent_remove(fde);
+ free(fde);
}
void fdevent_install(fdevent *fde, int fd, fd_func func, void *arg)