diff options
author | jbj <devnull@localhost> | 2001-05-05 19:28:32 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-05-05 19:28:32 +0000 |
commit | 8f75bbc17dab6c334583f33c7b912fb16d2ddc4b (patch) | |
tree | 145862352d95e2d391f0d65db0027d44bf236b39 /build/spec.c | |
parent | d78e027808deb6aef4e65338d160986d7e576a90 (diff) | |
download | librpm-tizen-8f75bbc17dab6c334583f33c7b912fb16d2ddc4b.tar.gz librpm-tizen-8f75bbc17dab6c334583f33c7b912fb16d2ddc4b.tar.bz2 librpm-tizen-8f75bbc17dab6c334583f33c7b912fb16d2ddc4b.zip |
- enough lclint annotations and fiddles already.
CVS patchset: 4741
CVS date: 2001/05/05 19:28:32
Diffstat (limited to 'build/spec.c')
-rw-r--r-- | build/spec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build/spec.c b/build/spec.c index 6d5c5d85f..a0f03d1e1 100644 --- a/build/spec.c +++ b/build/spec.c @@ -147,7 +147,7 @@ void freePackage(/*@only@*/ Package p) p->verifyFile = _free(p->verifyFile); headerFree(p->header); - freeStringBuf(p->fileList); + p->fileList = freeStringBuf(p->fileList); p->fileFile = _free(p->fileFile); if (p->cpioList) { TFI_t fi = p->cpioList; @@ -156,7 +156,7 @@ void freePackage(/*@only@*/ Package p) fi = _free(fi); } - freeStringBuf(p->specialDoc); + p->specialDoc = freeStringBuf(p->specialDoc); freeSources(p->icon); @@ -454,10 +454,10 @@ void freeSpec(/*@only@*/ Spec spec) freeSl(spec->sl); spec->sl = NULL; freeSt(spec->st); spec->st = NULL; - freeStringBuf(spec->prep); spec->prep = NULL; - freeStringBuf(spec->build); spec->build = NULL; - freeStringBuf(spec->install); spec->install = NULL; - freeStringBuf(spec->clean); spec->clean = NULL; + spec->prep = freeStringBuf(spec->prep); + spec->build = freeStringBuf(spec->build); + spec->install = freeStringBuf(spec->install); + spec->clean = freeStringBuf(spec->clean); spec->buildRootURL = _free(spec->buildRootURL); spec->buildSubdir = _free(spec->buildSubdir); |