Fix: Wrong sizeof argument in pid tracker
[lttng-tools.git] / src / bin / lttng / commands / track-untrack.c
index 1d84ab92760fbd3db0864b130e4ed072f26ff21f..890e1836b66ec952ccfaff17ee39b959978f1aa8 100644 (file)
@@ -110,7 +110,7 @@ int parse_pid_string(const char *_pid_string,
                goto error;
        }
        if (all) {
-               pid_list = zmalloc(sizeof(*_pid_list));
+               pid_list = zmalloc(sizeof(*pid_list));
                if (!pid_list) {
                        ERR("Out of memory");
                        retval = CMD_ERROR;
This page took 0.023495 seconds and 4 git commands to generate.