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: NMichael Tokarev <mjt@tls.msk.ru> Reviewed-by: NAlon Levy <alevy@redhat.com>
Showing
想要评论请 注册 或 登录