summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/graph.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/graph.c')
-rw-r--r--lib/libalpm/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/graph.c b/lib/libalpm/graph.c
index 15ff9354..fc2c9e16 100644
--- a/lib/libalpm/graph.c
+++ b/lib/libalpm/graph.c
@@ -27,7 +27,7 @@ pmgraph_t *_alpm_graph_new(void)
{
pmgraph_t *graph = NULL;
- CALLOC(graph, 1, sizeof(pmgraph_t), RET_ERR(PM_ERR_MEMORY, NULL));
+ CALLOC(graph, 1, sizeof(pmgraph_t), return NULL);
return graph;
}