summaryrefslogtreecommitdiff
path: root/umem_test3.c
diff options
context:
space:
mode:
authorrichdawe <richdawe@1665872d-e22b-0410-9e5d-a57ad4215e6d>2006-09-03 12:48:23 +0000
committerrichdawe <richdawe@1665872d-e22b-0410-9e5d-a57ad4215e6d>2006-09-03 12:48:23 +0000
commite633500627c3263522e6322fe916e6556c4be32f (patch)
tree82c783a8d178600a99446994345ceb64fc183d26 /umem_test3.c
parent1ea198a2cf19a0e84605891a8cc77f7f349d7526 (diff)
downloadportableumem-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.c14
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;
+}