[nemiver] Fix regression in assertions
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] Fix regression in assertions
- Date: Thu, 3 Nov 2016 12:11:00 +0000 (UTC)
commit f9e3f392bbc0112d182606cdf9caf04a80e7da78
Author: Hubert Figuière <hub figuiere net>
Date: Wed Nov 2 23:31:58 2016 -0400
Fix regression in assertions
* src/common/nmv-log-stream.cc (LogStream::~LogStream):
The assertion is the inverted condition.
src/common/nmv-log-stream.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/common/nmv-log-stream.cc b/src/common/nmv-log-stream.cc
index ce51d7b..1a5d2a4 100644
--- a/src/common/nmv-log-stream.cc
+++ b/src/common/nmv-log-stream.cc
@@ -376,7 +376,7 @@ LogStream::LogStream (enum LogLevel a_level,
LogStream::~LogStream ()
{
LOG_D ("delete", "destructor-domain");
- ABORT_IF_FAIL2 (!m_priv, "double free in LogStream::~LogStream");
+ ABORT_IF_FAIL2 (m_priv, "double free in LogStream::~LogStream");
m_priv.reset ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]