X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=libust%2Ftracepoint.c;h=6fe9cd7569444a79895d0fe7133e8a27c8e1ed4c;hp=2b33d84428ef29557d7897788c6aa816c7076545;hb=86699c2035dd69428706ade2d6dfb150ada757cb;hpb=1e4b909b682cc34aaa51ee13432c1c23f7e70bab diff --git a/libust/tracepoint.c b/libust/tracepoint.c index 2b33d84..6fe9cd7 100644 --- a/libust/tracepoint.c +++ b/libust/tracepoint.c @@ -74,7 +74,7 @@ struct tp_probes { static inline void *allocate_probes(int count) { - struct tp_probes *p = zmalloc(count * sizeof(void *) + struct tp_probes *p = zmalloc(count * sizeof(struct probe) + sizeof(struct tp_probes)); return p == NULL ? NULL : p->probes; }