summaryrefslogtreecommitdiff
path: root/lib/rpmte.c
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-12 21:12:29 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-02-02 16:44:16 -0800
commit101d36c944160df5614e001ba6aca2b6c4bb2e89 (patch)
treebc2e194b8418b5427a6cdfbb9cc664f8e373912d /lib/rpmte.c
parentd652a099dded5cdf104b7f31389b792979564e13 (diff)
downloadrpm-101d36c944160df5614e001ba6aca2b6c4bb2e89.tar.gz
rpm-101d36c944160df5614e001ba6aca2b6c4bb2e89.tar.bz2
rpm-101d36c944160df5614e001ba6aca2b6c4bb2e89.zip
remove patch from suse
Diffstat (limited to 'lib/rpmte.c')
-rw-r--r--lib/rpmte.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rpmte.c b/lib/rpmte.c
index af8ce4877..6afd69e97 100644
--- a/lib/rpmte.c
+++ b/lib/rpmte.c
@@ -730,8 +730,6 @@ static int rpmteClose(rpmte te, int reset_fi)
case TR_ADDED:
if (te->fd) {
rpmtsNotify(te->ts, te, RPMCALLBACK_INST_CLOSE_FILE, 0, 0);
- if (te->fd) /* not yet closed */
- Fclose(te->fd);
te->fd = NULL;
}
break;