commit | 78a4b8d2051bff8e8794e9419b7925122212b096 | [log] [tgz] |
---|---|---|
author | Michael Tokarev <mjt@tls.msk.ru> | Thu May 08 19:51:01 2014 +0400 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Sat May 24 00:07:29 2014 +0400 |
tree | 687653b7bb47b09b472676db67d50acea37e2cfb | |
parent | 6054d883d6138bfc92c73a7c090c824b64086fd2 [diff] |
libcacard: g_malloc cleanups This patch replaces g_malloc() in libcacard into g_new() or g_new0() where appropriate (removing some init-to-zero surrounding code), g_malloc+memcpy into g_memdup() and the like. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Alon Levy <alevy@redhat.com>