From b9dfe62b8f1ce4101ae7b330f4e026acfa845cfb Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 8 Feb 2012 17:18:05 -0500 Subject: gp_conv: Use correct type to calculate size of allocation --- proxy/src/gp_conv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/gp_conv.c b/proxy/src/gp_conv.c index 486c727..7f37be2 100644 --- a/proxy/src/gp_conv.c +++ b/proxy/src/gp_conv.c @@ -95,7 +95,7 @@ int gp_conv_gssx_to_oid_alloc(gssx_OID *in, gss_OID *out) { gss_OID o; - o = calloc(1, sizeof(gss_OID)); + o = calloc(1, sizeof(gss_OID_desc)); if (!o) { return ENOMEM; } -- cgit