Browse Source

libuuid: (test) cleanup unused memory [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
pull/1104/head
Karel Zak 2 years ago
parent
commit
7cdec9dff8
  1. 4
      misc-utils/test_uuidd.c

4
misc-utils/test_uuidd.c

@ -206,6 +206,8 @@ static void create_nthreads(process_t *proc, size_t index)
LOG(2, (stderr, "%d: thread exited [tid=%jd,return=%d]\n",
proc->pid, (intmax_t) th->tid, th->retval));
}
free(threads);
}
static void create_nprocesses(void)
@ -243,6 +245,8 @@ static void create_nprocesses(void)
(stderr, "process exited [pid=%d,status=%d]\n",
proc->pid, proc->status));
}
free(process);
}
static void object_dump(size_t idx, object_t *obj)

Loading…
Cancel
Save