]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
Fix the malloc error codes
authorIvana Hutarova Varekova <varekova@redhat.com>
Thu, 2 Jun 2011 12:29:52 +0000 (14:29 +0200)
committerJan Safranek <jsafrane@redhat.com>
Fri, 3 Jun 2011 08:27:47 +0000 (10:27 +0200)
commit82c64114088f0e9e91ab077b4c533d17dcb58263
tree6591e194e56065c2dde610d2455044121dc02a06
parent0baac9f2229bba3e2adbe91fd85a71e3ddf68264
Fix the malloc error codes

If malloc|calloc|strdup function is not succesfull
then ECGOTHER should be returned (not ECGFAIL)

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
src/api.c