Fix: Wrong sizeof argument in pid tracker
[lttng-tools.git] / src / bin / lttng / commands / track-untrack.c
index 3771de5d94b5b7bfcaacf26b0663044cecaac98f..d9e18c1d68f76ac055f3164038d155a5a7561c57 100644 (file)
@@ -87,7 +87,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.023421 seconds and 4 git commands to generate.