未验证 提交 dd92fb23 编写于 作者: Q qingqing01 提交者: GitHub

Merge pull request #6666 from qingqing01/mobile_mem

Fix error in function/GemmConvOp.cpp.
...@@ -128,7 +128,7 @@ public: ...@@ -128,7 +128,7 @@ public:
} }
#ifdef PADDLE_MOBILE_INFERENCE #ifdef PADDLE_MOBILE_INFERENCE
if (Device == DEVICE_TYPE_CPU) { if (Device == DEVICE_TYPE_CPU) {
delete memory_; memory_.reset();
} }
#endif #endif
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册