summaryrefslogtreecommitdiffstats
path: root/idlc/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-16 21:22:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-16 21:22:13 +0200
commitc52cd532b6eea9f32d6d6745818b27adcbf91b16 (patch)
treea837ade4be2ae097bacf2979d49777be604431b1 /idlc/inc
parentlopgluin:unnecessaryparen: Properly treat parenthesized sub-expr in sizeof (x) (diff)
downloadcore-c52cd532b6eea9f32d6d6745818b27adcbf91b16.tar.gz
core-c52cd532b6eea9f32d6d6745818b27adcbf91b16.zip
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.hxx2
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