From: Milian Wolff Date: Thu, 15 May 2014 14:09:58 +0000 (+0200) Subject: extend test.c a bit. X-Git-Tag: submit/tizen/20180620.112952^2~571 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e109bbd428a27491845777bca3ed5d98dffe6736;p=sdk%2Ftools%2Fheaptrack.git extend test.c a bit. --- diff --git a/test.c b/test.c index bcc93e6..ef5c6a1 100644 --- a/test.c +++ b/test.c @@ -6,9 +6,11 @@ int main() int i; // make app deterministic srand(0); + void* p = malloc(1); for (i = 0; i < 10000; ++i) { malloc(rand() % 1000); usleep(100); } + free(p); return 0; -} \ No newline at end of file +}