pgbackrest.git / summary / log / commit / refs
commit dc8a9dab1b4e9b00a0e3b1394f519464c702cd60
Author: David Steele <david@pgmasters.net>
Date: Thu Oct 08 12:37:53 2020 +0000
Add missing assertion in lstSort().
src/common/type/list.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/common/type/list.c b/src/common/type/list.c
index 58cc60bf3..ba6e41841 100644
--- a/src/common/type/list.c
+++ b/src/common/type/list.c
@@ -407,6 +407,7 @@ lstSort(List *this, SortOrder sortOrder)
FUNCTION_TEST_END();
ASSERT(this != NULL);
+ ASSERT(this->comparator != NULL);
switch (sortOrder)
{
[parent: 099281c51070]