]> Kevux Git Server - fll/commitdiff
Bugfix: Add missing return value handling in f_fss.
authorKevin Day <thekevinday@gmail.com>
Sun, 15 May 2022 00:59:57 +0000 (19:59 -0500)
committerKevin Day <thekevinday@gmail.com>
Sun, 15 May 2022 00:59:57 +0000 (19:59 -0500)
level_0/f_fss/c/private-fss.c

index 66ed67ea192a96723a88243f7944bc1067d8a692..bf4c3f228cd71a8f40ec7f40384b8b2824ee19ae 100644 (file)
@@ -389,7 +389,7 @@ extern "C" {
       if (F_status_is_error(status)) return status;
     } // for
 
-    f_memory_adjust(sets->size, length, sizeof(f_fss_set_t), (void **) & sets->array);
+    status = f_memory_adjust(sets->size, length, sizeof(f_fss_set_t), (void **) & sets->array);
 
     if (F_status_is_error_not(status)) {
       sets->size = length;