Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
struct tracepoint *tp;
};
struct tracepoint *tp;
};
static void *allocate_probes(int count)
{
struct tp_probes *p = zmalloc(count * sizeof(struct tracepoint_probe)
static void *allocate_probes(int count)
{
struct tp_probes *p = zmalloc(count * sizeof(struct tracepoint_probe)
return p == NULL ? NULL : p->probes;
}
return p == NULL ? NULL : p->probes;
}
+/* coverity[+free : arg-0] */
static void release_probes(void *old)
{
if (old) {
static void release_probes(void *old)
{
if (old) {