Commit e003413f authored by Michael Niedermayer's avatar Michael Niedermayer

murmur3: fix memleak

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3ac3edf6
......@@ -175,6 +175,7 @@ int main(void)
av_murmur3_update(ctx, hashes, 256 * 16);
av_murmur3_final(ctx, hash_result);
av_free(hashes);
av_freep(&ctx);
printf("result: 0x%"PRIx64" 0x%"PRIx64"\n", AV_RL64(hash_result), AV_RL64(hash_result + 8));
// official reference value is 32 bit
return AV_RL32(hash_result) != 0x6384ba69;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment