projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libmallocwrap: free: don't return a value in a void function
[lttng-ust.git]
/
libmallocwrap
/
mallocwrap.c
diff --git
a/libmallocwrap/mallocwrap.c
b/libmallocwrap/mallocwrap.c
index 825ad95ddbc98389acf394e725e763350093656a..d505b6773536d7d827f7b8e554136ec5900b6801 100644
(file)
--- a/
libmallocwrap/mallocwrap.c
+++ b/
libmallocwrap/mallocwrap.c
@@
-88,13
+88,13
@@
void free(void *ptr)
plibc_free = dlsym(RTLD_NEXT, "free");
if(plibc_free == NULL) {
fprintf(stderr, "mallocwrap: unable to find free\n");
- return
NULL
;
+ return;
}
}
trace_mark(ust, free, "%p", ptr);
-
return
plibc_free(ptr);
+ plibc_free(ptr);
}
MARKER_LIB
This page took
0.023617 seconds
and
4
git commands to generate.