Il 18/10/2013 03:11, Wenchao Xia ha scritto: > Signed-off-by: Wenchao Xia <xiaw...@linux.vnet.ibm.com> > --- > qobject/qerror.c | 1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/qobject/qerror.c b/qobject/qerror.c > index 5b487f3..685167a 100644 > --- a/qobject/qerror.c > +++ b/qobject/qerror.c > @@ -77,7 +77,6 @@ static void qerror_print(QError *qerror) > loc_push_restore(&qerror->loc); > error_report("%s", qstring_get_str(qstring)); > loc_pop(&qerror->loc); > - QDECREF(qstring); > } > > void qerror_report(ErrorClass eclass, const char *fmt, ...) >
Why isn't this a memory leak? Paolo