From d3ff93e12edc823eac16e00dd3eada8cae989ca2 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 9 Sep 2013 09:55:25 +0400 Subject: [PATCH] neutrino.cpp: fix malloc_stats call for uclibc --- src/neutrino.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 5d4a5ca08..7c83ff424 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -4040,6 +4040,10 @@ void CNeutrinoApp::Cleanup() delete CEitManager::getInstance(); printf("cleanup 6\n");fflush(stdout); delete CVFD::getInstance(); +#ifdef __UCLIBC__ + malloc_stats(NULL); +#else malloc_stats(); #endif +#endif }