提交 8f4fc788 编写于 作者: K ksrini

8005750: [parfait] Memory leak at jdk/src/share/bin/parse_manifest.c

Reviewed-by: jjh
上级 67ccef49
/* /*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -106,8 +106,9 @@ inflate_file(int fd, zentry *entry, int *size_out) ...@@ -106,8 +106,9 @@ inflate_file(int fd, zentry *entry, int *size_out)
*size_out = (int)entry->isize; *size_out = (int)entry->isize;
} }
return (out); return (out);
} else }
return (NULL); free(in);
return (NULL);
} }
static jboolean zip64_present = JNI_FALSE; static jboolean zip64_present = JNI_FALSE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册