Fix: missing goto error on null pointer
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 29 Jun 2016 15:29:08 +0000 (11:29 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Wed, 29 Jun 2016 22:35:21 +0000 (18:35 -0400)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
src/common/config/session-config.c

index 616434ecf572955d7c1952b9ba88b3fa9c17d0e3..e5afc4abc185e1f62007f20439cea188375ab27f 100644 (file)
@@ -3495,6 +3495,7 @@ struct config_element *config_element_create(const char *name,
        if (!element->element) {
                free(element);
                element = NULL;
+               goto end;
        }
 
        if (internal_value) {
This page took 0.02772 seconds and 5 git commands to generate.