Changes malloc to zmalloc
[ust.git] / ustctl / ustctl.c
index 8a5f6baf298782461895ce688570a0f803a17746..d29097567aed1b93143c5f22c66a391f0992833b 100644 (file)
@@ -147,7 +147,7 @@ int parse_opts_long(int argc, char **argv, struct ust_opts *opts)
        if (argc - optind > 0 && opts->cmd != GET_ONLINE_PIDS) {
                int i;
                int pididx=0;
-               opts->pids = malloc((argc-optind+1) * sizeof(pid_t));
+               opts->pids = zmalloc((argc-optind+1) * sizeof(pid_t));
 
                for(i=optind; i<argc; i++) {
                        /* don't take any chances, use a long long */
This page took 0.022896 seconds and 4 git commands to generate.