1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

indent: Re-indent function free-packet.

--

Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
Werner Koch 2017-03-29 11:28:30 +02:00
parent 0526c99164
commit ba57f8302a
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B

View file

@ -395,7 +395,7 @@ free_plaintext( PKT_plaintext *pt )
} }
/**************** /****************
* Free the packet in pkt. * Free the packet in PKT.
*/ */
void void
free_packet (PACKET *pkt) free_packet (PACKET *pkt)
@ -406,7 +406,8 @@ free_packet( PACKET *pkt )
if (DBG_MEMORY) if (DBG_MEMORY)
log_debug ("free_packet() type=%d\n", pkt->pkttype); log_debug ("free_packet() type=%d\n", pkt->pkttype);
switch( pkt->pkttype ) { switch (pkt->pkttype)
{
case PKT_SIGNATURE: case PKT_SIGNATURE:
free_seckey_enc (pkt->pkt.signature); free_seckey_enc (pkt->pkt.signature);
break; break;
@ -442,9 +443,11 @@ free_packet( PACKET *pkt )
xfree (pkt->pkt.generic); xfree (pkt->pkt.generic);
break; break;
} }
pkt->pkt.generic = NULL; pkt->pkt.generic = NULL;
} }
/**************** /****************
* returns 0 if they match. * returns 0 if they match.
*/ */