summaryrefslogtreecommitdiff
path: root/rpmio/url.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-11-07 18:49:08 +0000
committerjbj <devnull@localhost>2004-11-07 18:49:08 +0000
commite5370f96a4c4eaa3d054d8a0e60aa8f593f5373e (patch)
tree739ce438701256758b6f9bf71f7609c36d452556 /rpmio/url.c
parent351af63e8c87fc52f0e6eaf013f4df8dd372bf66 (diff)
downloadlibrpm-tizen-e5370f96a4c4eaa3d054d8a0e60aa8f593f5373e.tar.gz
librpm-tizen-e5370f96a4c4eaa3d054d8a0e60aa8f593f5373e.tar.bz2
librpm-tizen-e5370f96a4c4eaa3d054d8a0e60aa8f593f5373e.zip
Drill many neon hooks.
CVS patchset: 7552 CVS date: 2004/11/07 18:49:08
Diffstat (limited to 'rpmio/url.c')
-rw-r--r--rpmio/url.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpmio/url.c b/rpmio/url.c
index 7dd05dfb9..1f63b4ceb 100644
--- a/rpmio/url.c
+++ b/rpmio/url.c
@@ -143,6 +143,11 @@ URLDBGREFS(0, (stderr, "--> url %p -- %d %s at %s:%u\n", u, u->nrefs, msg, file,
(u->scheme ? u->scheme : ""));
/*@=usereleased@*/
}
+ if (u->sess != NULL) {
+ /* HACK: neon include has prototype. */
+ ne_session_destroy(u->sess);
+ u->sess = NULL;
+ }
u->buf = _free(u->buf);
u->url = _free(u->url);
u->scheme = _free((void *)u->scheme);