@pmatilai commented on this pull request.


> +         if (checkForEncoding(pkg->header, 0) != RPMRC_OK) {
+               badenc = 1;
+           }
+       }
+       if (badenc)
+           goto errxit;
+    }
+
+    closeSpec(spec);
+
+exit:
+    return spec;
+
+errxit:
+    if (!secondary)
+       rpmSpecFree(spec);

Hmm, the API shouldn't get much in the way as parseSpec() and friends is all 
internal affairs.
I'm too cross-eyed to look at this today but glad you found a way forward, 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1485#discussion_r1016688097
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/1485/review/1172205...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to