projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add type-checked versions of allocation and deallocations functions
[lttng-tools.git]
/
src
/
common
/
notification.cpp
diff --git
a/src/common/notification.cpp
b/src/common/notification.cpp
index 248dd42e7529cf3f9ae16fdb69f0d4e2f9c013dc..77e61f21ae60c7a6168ed0feca12fabea758b943 100644
(file)
--- a/
src/common/notification.cpp
+++ b/
src/common/notification.cpp
@@
-24,7
+24,7
@@
struct lttng_notification *lttng_notification_create(
goto end;
}
goto end;
}
- notification =
(lttng_notification *) zmalloc(sizeof(struct lttng_notification)
);
+ notification =
zmalloc<lttng_notification>(
);
if (!notification) {
goto end;
}
if (!notification) {
goto end;
}
This page took
0.041013 seconds
and
4
git commands to generate.