rtmpproto: free hmac context properly

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
pull/161/head
James Almer 10 years ago committed by Martin Storsjö
parent 65dd6a1f84
commit 9487ffd4c0
  1. 2
      libavformat/rtmpproto.c

@ -971,7 +971,7 @@ int ff_rtmp_calc_digest(const uint8_t *src, int len, int gap,
}
av_hmac_final(hmac, dst, 32);
av_free(hmac);
av_hmac_free(hmac);
return 0;
}

Loading…
Cancel
Save