Skip to content

Commit

Permalink
Use talloc_free. Fixes #582
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 11, 2014
1 parent 234e450 commit ff85072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_eap/libeap/eapsimlib.c
Expand Up @@ -255,7 +255,7 @@ int map_eapsim_basictypes(RADIUS_PACKET *r, eap_packet_t *ep)
fr_hmac_sha1(buffer, hmaclen, vp->vp_octets, vp->length, sha1digest);

/* done with the buffer, free it */
free(buffer);
talloc_free(buffer);

/* now copy the digest to where it belongs in the AT_MAC */
/* note that it is truncated to 128-bits */
Expand Down

0 comments on commit ff85072

Please sign in to comment.