chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd284d7
)
key/key-data.c (key_split): Fix long-standing reference leak.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 8 Oct 2019 19:23:01 +0000
(20:23 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 16 Dec 2019 16:25:17 +0000
(16:25 +0000)
key/key-data.c
patch
|
blob
|
blame
|
history
diff --git
a/key/key-data.c
b/key/key-data.c
index 8b01d725eaa748d1462a8c308f46c31e150a3077..3a0b7351a4beaf971a7b1e6bc2b6e9be4e70f561 100644
(file)
--- a/
key/key-data.c
+++ b/
key/key-data.c
@@
-153,6
+153,7
@@
void key_split(key_data **kk)
default:
abort();
}
default:
abort();
}
+ key_drop(k);
}
/*----- Setting new values ------------------------------------------------*/
}
/*----- Setting new values ------------------------------------------------*/