[CRIU] [PATCH 0/3] malloc/strdup cleanups

Cyrill Gorcunov gorcunov at openvz.org
Tue Sep 23 10:00:22 PDT 2014


Better to use own x* helpers which do print error if
allocation failed.

Tycho, could you please take a look on "files-reg" patch,
which test should be started to test it?

Cyrill Gorcunov (3):
  cgroup: Use xmalloc in rewrite_cgsets
  files-reg: Simplify have_seen_dead_pid
  lib: Use x[re|m]alloc, xstrdup helpers

 cgroup.c    |  2 +-
 files-reg.c | 28 ++++++++--------------------
 lib/criu.c  | 37 +++++++++++++++++++------------------
 3 files changed, 28 insertions(+), 39 deletions(-)

-- 
1.9.3



More information about the CRIU mailing list