X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Ftracepoint.c;h=7bb38fa9ec307f9b1eb85670c7b90a456e9bce3d;hb=b2684aaa292bb9e4f42fde2a57b0be175363a5bd;hp=013f9b2a6091a69e4e07f8d9365ac695c39cc84f;hpb=3469bbbe391e22739245dc35091d944b50429179;p=lttng-ust.git diff --git a/liblttng-ust/tracepoint.c b/liblttng-ust/tracepoint.c index 013f9b2a..7bb38fa9 100644 --- a/liblttng-ust/tracepoint.c +++ b/liblttng-ust/tracepoint.c @@ -122,6 +122,7 @@ struct callsite_entry { struct tracepoint *tp; }; +/* coverity[+alloc] */ static void *allocate_probes(int count) { struct tp_probes *p = zmalloc(count * sizeof(struct tracepoint_probe) @@ -129,6 +130,7 @@ static void *allocate_probes(int count) return p == NULL ? NULL : p->probes; } +/* coverity[+free : arg-0] */ static void release_probes(void *old) { if (old) {