- remove icons with --rmsource
- do dependecy generation on -bl
- check files on all packages on -bl
+ - integrate Jeff Johnson's memleak patches
2.4.107 -> 2.4.108:
- make --clean work with no %setup
/* do not copy */
break;
}
- if (type == RPM_STRING_ARRAY_TYPE) {
+ if (type == RPM_STRING_ARRAY_TYPE || type == RPM_I18NSTRING_TYPE) {
FREE(ptr);
}
}
x++;
}
fl.fileListRecsUsed = x;
- FREE(files);
+ freeSplitString(files);
if (! fl.processingFailed) {
genCpioListAndHeader(&fl, &(spec->sourceCpioList),
FREE(specialDoc);
}
- FREE(files);
+ freeSplitString(files);
if (! fl.processingFailed) {
genCpioListAndHeader(&fl, &(pkg->cpioList), &(pkg->cpioCount),
sprintf(buf, "%s-%s-%s", name, version, release);
rpmGetArchInfo(NULL, &arch);
rpmGetOsInfo(NULL, &os);
+ memset(&lead, 0, sizeof(lead));
lead.major = RPM_MAJOR_NUMBER;
lead.minor = 0;
lead.type = type;
spec->prep = newStringBuf();
- buf = newStringBuf();
-
/* There are no options to %prep */
if (readLine(spec, STRIP_NOTHING) > 0) {
return PART_NONE;
}
+ buf = newStringBuf();
+
while (! (nextPart = isPart(spec->line))) {
/* Need to expand the macros inline. That way we */
/* can give good line number information on error. */
}
if (res) {
freeSplitString(saveLines);
+ freeStringBuf(buf);
return res;
}
lines++;
}
+
freeSplitString(saveLines);
+ freeStringBuf(buf);
return nextPart;
}
}
f++;
}
- FREE(fsave);
+ freeSplitString(fsave);
/*** Do Requires ***/
}
f++;
}
- FREE(fsave);
+ freeSplitString(fsave);
/*** Clean Up ***/
}
}
- free(netsharedPaths);
+ freeSplitString(netsharedPaths);
}
handleSharedFiles(db, offset, fileList, fileMd5List, fileCount,