[libdmapsharing] Fix assertion in dmap_record_factory_create
- From: W. Michael Petullo <wmpetullo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdmapsharing] Fix assertion in dmap_record_factory_create
- Date: Thu, 12 Jul 2018 04:25:19 +0000 (UTC)
commit cdb3b84005e3fb28d8fcbbb706e61af01f4e6322
Author: W. Michael Petullo <mike flyn org>
Date: Thu Jul 12 00:24:55 2018 -0400
Fix assertion in dmap_record_factory_create
Signed-off-by: W. Michael Petullo <mike flyn org>
libdmapsharing/dmap-record-factory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libdmapsharing/dmap-record-factory.c b/libdmapsharing/dmap-record-factory.c
index 6de18dd..5b492c9 100644
--- a/libdmapsharing/dmap-record-factory.c
+++ b/libdmapsharing/dmap-record-factory.c
@@ -37,8 +37,8 @@ dmap_record_factory_create (DmapRecordFactory *factory,
user_data,
error);
- g_assert((NULL == record && NULL != error)
- || (NULL != record && NULL == error));
+ g_assert((NULL == record && NULL != *error)
+ || (NULL != record && NULL == *error));
return record;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]