diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2008-10-05 08:41:44 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2008-10-05 08:41:44 +0000 |
commit | 2b739fc611c8f48f9e2df7e226a3e0deed08a928 (patch) | |
tree | 214af9c0752a595f0a6d6843fa80dd982f8aa567 /asn1 | |
parent | 62e4dd4459eb7d2d40c5b5ab17badc258960c901 (diff) |
use g_malloc/g_free instead of malloc/free
svn path=/trunk/; revision=26353
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/spnego/packet-spnego-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c index 327445a896..fba8e99a3c 100644 --- a/asn1/spnego/packet-spnego-template.c +++ b/asn1/spnego/packet-spnego-template.c @@ -667,7 +667,7 @@ rrc_rotate(void *data, int len, guint16 rrc, int unrotate) if (rrc <= sizeof(buf)) { tmp = buf; } else { - tmp = malloc(rrc); + tmp = g_malloc(rrc); if (tmp == NULL) return -1; } @@ -683,7 +683,7 @@ rrc_rotate(void *data, int len, guint16 rrc, int unrotate) } if (rrc > sizeof(buf)) - free(tmp); + g_free(tmp); return 0; } |