aboutsummaryrefslogtreecommitdiffstats
path: root/samsung_symbols
diff options
context:
space:
mode:
authorRGIB <gibellini.roberto@gmail.com>2016-06-01 17:02:15 +0200
committerRGIB <gibellini.roberto@gmail.com>2016-06-01 17:02:15 +0200
commit18a0f846e9b5f4e5c6592ca8d6c7bf768a8508eb (patch)
tree49d98ad4602ee2c29f9a3ae65313cf8982dfba5a /samsung_symbols
parent5c09772000d947042b77d85bda8af2a8939defd0 (diff)
downloaddevice_samsung_kona-common-18a0f846e9b5f4e5c6592ca8d6c7bf768a8508eb.zip
device_samsung_kona-common-18a0f846e9b5f4e5c6592ca8d6c7bf768a8508eb.tar.gz
device_samsung_kona-common-18a0f846e9b5f4e5c6592ca8d6c7bf768a8508eb.tar.bz2
kona : update selinux
Change-Id: I9705e3d989f74a2d3f0279e886a789b628ea0876
Diffstat (limited to 'samsung_symbols')
-rw-r--r--samsung_symbols/symbols.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/samsung_symbols/symbols.cpp b/samsung_symbols/symbols.cpp
index e9eec01..9c81192 100644
--- a/samsung_symbols/symbols.cpp
+++ b/samsung_symbols/symbols.cpp
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <malloc.h>
+#include "../upstream-dlmalloc/malloc.c"
extern "C" int _ZN7android6Parcel13writeString16EPKDsj();
extern "C" int _ZN7android6Parcel13writeString16EPKtj(){
@@ -43,7 +44,7 @@ extern "C" void *CRYPTO_malloc(int num, const char *file, int line){
if (num <= 0)
return NULL;
else
- return malloc(num);
+ return dlmalloc(num);
}
extern "C" void RIL_register_socket();
@@ -62,4 +63,4 @@ extern "C" void SetClientData(char);
extern "C" void SetClientData(char) {}
extern "C" void Connect_RILD_Second();
-extern "C" void Connect_RILD_Second() {} \ No newline at end of file
+extern "C" void Connect_RILD_Second() {}