projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests: plug memory leak in test_bin_info
[babeltrace.git]
/
src
/
lib
/
graph
/
interrupter.c
diff --git
a/src/lib/graph/interrupter.c
b/src/lib/graph/interrupter.c
index 2a066ddd90542505c3445db2c103b8ee71966f88..5e48e5e69e4392bbe51351439437066c3224b216 100644
(file)
--- a/
src/lib/graph/interrupter.c
+++ b/
src/lib/graph/interrupter.c
@@
-40,6
+40,8
@@
extern struct bt_interrupter *bt_interrupter_create(void)
{
struct bt_interrupter *intr = g_new0(struct bt_interrupter, 1);
+ BT_ASSERT_PRE_NO_ERROR();
+
if (!intr) {
BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate one interrupter.");
goto error;
This page took
0.023519 seconds
and
4
git commands to generate.