We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac215fd commit f8f31a1Copy full SHA for f8f31a1
1 file changed
lib/conf.c
@@ -495,8 +495,10 @@ xbps_conf_init(struct xbps_handle *xhp)
495
int r = 0;
496
497
assert(xhp);
498
+
499
seen = xbps_dictionary_create();
- assert(seen);
500
+ if (!seen)
501
+ return xbps_error_oom();
502
503
if (xhp->confdir[0]) {
504
xbps_dbg_printf("Processing configuration directory: %s\n", xhp->confdir);
0 commit comments