diff options
author | Simo Sorce <simo@redhat.com> | 2012-02-08 17:18:05 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2012-02-09 01:36:07 -0500 |
commit | b9dfe62b8f1ce4101ae7b330f4e026acfa845cfb (patch) | |
tree | e7f6dcd8bb907d2f9a53d5dabf59d5773f7ce18b | |
parent | ab83710deb7b7b60c1fc3bdaaf6b2d4e7f062558 (diff) | |
download | gss-proxy-b9dfe62b8f1ce4101ae7b330f4e026acfa845cfb.tar.gz gss-proxy-b9dfe62b8f1ce4101ae7b330f4e026acfa845cfb.tar.xz gss-proxy-b9dfe62b8f1ce4101ae7b330f4e026acfa845cfb.zip |
gp_conv: Use correct type to calculate size of allocation
-rw-r--r-- | proxy/src/gp_conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |