Browse Source

avutil/sha512-test: fix memleak

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n3.1
James Almer 9 years ago
parent
commit
d8ef8b960a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavutil/sha512-test.c

+ 2
- 0
libavutil/sha512-test.c View File

@@ -23,6 +23,7 @@


#include <stdio.h> #include <stdio.h>


#include "mem.h"
#include "sha512.h" #include "sha512.h"


int main(void) int main(void)
@@ -83,6 +84,7 @@ int main(void)
break; break;
} }
} }
av_free(ctx);


return 0; return 0;
} }

Loading…
Cancel
Save