diff options
author | richdawe <richdawe@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2006-09-03 12:48:23 +0000 |
---|---|---|
committer | richdawe <richdawe@1665872d-e22b-0410-9e5d-a57ad4215e6d> | 2006-09-03 12:48:23 +0000 |
commit | e633500627c3263522e6322fe916e6556c4be32f (patch) | |
tree | 82c783a8d178600a99446994345ceb64fc183d26 /umem_test3.c | |
parent | 1ea198a2cf19a0e84605891a8cc77f7f349d7526 (diff) | |
download | portableumem-e633500627c3263522e6322fe916e6556c4be32f.tar.gz |
Add --enable-malloc-replacement option, for using libumem as a malloc replacement
git-svn-id: https://labs.omniti.com/portableumem/trunk@24 1665872d-e22b-0410-9e5d-a57ad4215e6d
Diffstat (limited to 'umem_test3.c')
-rw-r--r-- | umem_test3.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/umem_test3.c b/umem_test3.c new file mode 100644 index 0000000..bcbb231 --- /dev/null +++ b/umem_test3.c @@ -0,0 +1,14 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +int +main (void) +{ + char *p; + + p = malloc(10); + free(p); + + return EXIT_SUCCESS; +} |