summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-02-13 00:00:52 +0100
committerJosh Gao <jmgao@google.com>2016-02-13 00:00:52 +0100
commitcc07b3556510d03e389a8994a8e5dbed3f3bbbb4 (patch)
tree8055bb6f05fd9be1a3fb55865eade5dc1d723948
parentMerge "Fix some memory leaks." (diff)
downloadandroid_bootable_recovery-cc07b3556510d03e389a8994a8e5dbed3f3bbbb4.tar
android_bootable_recovery-cc07b3556510d03e389a8994a8e5dbed3f3bbbb4.tar.gz
android_bootable_recovery-cc07b3556510d03e389a8994a8e5dbed3f3bbbb4.tar.bz2
android_bootable_recovery-cc07b3556510d03e389a8994a8e5dbed3f3bbbb4.tar.lz
android_bootable_recovery-cc07b3556510d03e389a8994a8e5dbed3f3bbbb4.tar.xz
android_bootable_recovery-cc07b3556510d03e389a8994a8e5dbed3f3bbbb4.tar.zst
android_bootable_recovery-cc07b3556510d03e389a8994a8e5dbed3f3bbbb4.zip
-rw-r--r--minadbd/services.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/minadbd/services.cpp b/minadbd/services.cpp
index d25648fb4..658a43f36 100644
--- a/minadbd/services.cpp
+++ b/minadbd/services.cpp
@@ -35,11 +35,10 @@ struct stinfo {
void *cookie;
};
-void* service_bootstrap_func(void* x) {
+void service_bootstrap_func(void* x) {
stinfo* sti = reinterpret_cast<stinfo*>(x);
sti->func(sti->fd, sti->cookie);
free(sti);
- return 0;
}
static void sideload_host_service(int sfd, void* data) {