diff --git a/build/spec.c b/build/spec.c index 234cbcb20..365ce6d32 100644 --- a/build/spec.c +++ b/build/spec.c @@ -296,12 +296,10 @@ rpmSpec rpmSpecFree(rpmSpec spec) } spec->BANames = _free(spec->BANames); -#ifdef WITH_LUA // only destroy lua tables if there are no BASpecs left if (spec->recursing || spec->BACount == 0) { spec->lua = specLuaFini(spec); } -#endif spec->sources = freeSources(spec->sources); spec->packages = freePackages(spec->packages);