Skip to content

Commit

Permalink
Merge pull request #6666 from qingqing01/mobile_mem
Browse files Browse the repository at this point in the history
Fix error in function/GemmConvOp.cpp.
  • Loading branch information
qingqing01 authored Dec 18, 2017
2 parents 7456d73 + 7968b66 commit dd92fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/function/GemmConvOp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class GemmConvFunction : public ConvFunctionBase {
}
#ifdef PADDLE_MOBILE_INFERENCE
if (Device == DEVICE_TYPE_CPU) {
delete memory_;
memory_.reset();
}
#endif
}
Expand Down

0 comments on commit dd92fb2

Please sign in to comment.