Skip to content

Commit 039fffb

Browse files
committed
Minor bug solved in refactor of the configuration.
1 parent 00a9f62 commit 039fffb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/configuration/source/configuration.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ configuration configuration_create(const char *scope, const char *path, const ch
155155

156156
configuration configuration_scope(const char *name)
157157
{
158+
if (name == NULL)
159+
{
160+
return NULL;
161+
}
162+
158163
configuration config = configuration_singleton_get(name);
159164

160165
if (config != NULL)

0 commit comments

Comments
 (0)