summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 765bbe7)
raw | patch | inline | side by side (parent: 765bbe7)
author | Florian Forster <ff@octo.it> | |
Mon, 14 Jun 2010 15:53:20 +0000 (17:53 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Mon, 14 Jun 2010 15:53:20 +0000 (17:53 +0200) |
graph_list.c | patch | blob | history |
diff --git a/graph_list.c b/graph_list.c
index fc63620f7b5e9f5b36b78a3eb015f67e6736ff7f..80fab2888ac2a8600186f68203716f9d4d9388ae 100644 (file)
--- a/graph_list.c
+++ b/graph_list.c
i->select = ident_copy_with_selector (cfg->select, file,
IDENT_FLAG_REPLACE_ANY);
+ if (i->select == NULL)
+ {
+ DEBUG ("instance_create: ident_copy_with_selector returned NULL.\n");
+ free (i);
+ return (NULL);
+ }
i->files = NULL;
i->files_num = 0;