diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-16 21:22:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-16 21:22:13 +0200 |
commit | c52cd532b6eea9f32d6d6745818b27adcbf91b16 (patch) | |
tree | a837ade4be2ae097bacf2979d49777be604431b1 /idlc/inc | |
parent | e4faf5502db93af263c7c746f6e79cbb185b1644 (diff) |
Fix lifecycle issue
...as shown by ASan/UBSan build use-after-free report at
<https://ci.libreoffice.org/job/lo_ubsan/602/> after
8e39ef66928a3e37c618d3a70a631e71266db274 "extend loplugin useuniqueptr to POD
types"
Change-Id: Ic42e408c2c4b2901cdf5d681b332543ec8f445ef
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/astexpression.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/inc/astexpression.hxx b/idlc/inc/astexpression.hxx index eec117379b6f..e9e92600bad8 100644 --- a/idlc/inc/astexpression.hxx +++ b/idlc/inc/astexpression.hxx @@ -122,7 +122,7 @@ private: std::unique_ptr<AstExprValue> eval_bin_op(); std::unique_ptr<AstExprValue> eval_bit_op(); std::unique_ptr<AstExprValue> eval_un_op(); - AstExprValue* eval_symbol(); + std::unique_ptr<AstExprValue> eval_symbol(); OString m_fileName; // fileName defined in |