You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by jx...@apache.org on 2017/10/09 18:06:55 UTC
[incubator-mxnet] branch master updated: hotfix delete error (#8166)
This is an automated email from the ASF dual-hosted git repository.
jxie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new 06806f5 hotfix delete error (#8166)
06806f5 is described below
commit 06806f542e0727c009a5cba0d3637d9eeaf5695f
Author: Joshua Z. Zhang <ch...@gmail.com>
AuthorDate: Mon Oct 9 11:06:53 2017 -0700
hotfix delete error (#8166)
---
src/io/image_io.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/io/image_io.cc b/src/io/image_io.cc
index df62753..9081a37 100644
--- a/src/io/image_io.cc
+++ b/src/io/image_io.cc
@@ -227,7 +227,7 @@ void Imread(const nnvm::NodeAttrs& attrs,
} else {
(*outputs)[0] = NDArray();
ImdecodeImpl(param.flag, param.to_rgb, buff, fsize, &((*outputs)[0]));
- delete buff;
+ delete[] buff;
return;
}
--
To stop receiving notification emails like this one, please contact
['"commits@mxnet.apache.org" <co...@mxnet.apache.org>'].