Browse Source

avutil/sha-test: fix memleak

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

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

@@ -18,6 +18,7 @@

#include <stdio.h>

#include "mem.h"
#include "sha.h"

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

return 0;
}

Loading…
Cancel
Save