This website works better with JavaScript.
Home
Help
Register
Sign In
leviathan
/
netpgp-et
forked from
pEp.foundation/netpgp-et
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fixed nasty leftover statement in netpgp_save_ring. Added accumulated memory free in case of stacked accumulating readers.
master
Edouard Tisserant
7 years ago
parent
21d96a82f2
commit
5ed7a0d585
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
dist/src/lib/netpgp.c
+4
-0
dist/src/lib/reader.c
+ 0
- 1
dist/src/lib/netpgp.c
View File
@ -1162,7 +1162,6 @@ netpgp_save_ring(netpgp_t *netpgp,
time_t
curtime
;
io
=
netpgp
-
>
io
;
keyring
=
netpgp
-
>
pubring
;
/* file names */
if
(
(
ringfile
=
netpgp_getvar
(
netpgp
,
name
)
)
=
=
NULL
)
{
+ 4
- 0
dist/src/lib/reader.c
View File
@ -234,6 +234,10 @@ pgp_reader_pop(pgp_stream_t *stream)
{
pgp_reader_t
*
next
=
stream
-
>
readinfo
.
next
;
if
(
stream
-
>
readinfo
.
accumulate
&
&
stream
-
>
readinfo
.
asize
>
0
)
{
free
(
stream
-
>
readinfo
.
accumulated
)
;
}
stream
-
>
readinfo
=
*
next
;
free
(
next
)
;
}
Write
Preview
Loading…
Cancel
Save