Skip to contentSkip to conversation

s390/zcrypt: fix possible memory leak in ap_module_init()

PATCH Martin Schwidefsky 1 participant 1 message Jul 31, 2016 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · On Thu, 28 Jul 2016 16:13:22 +0000 Wei Yongjun <[email protected]> wrote:

ap_configuration is malloced in ap_module_init() and should be freed before leaving from the error handling cases, otherwise it may cause memory leak.

Nice catch, applied.

Signature · 4 lines
blue skies,
   Martin.

"Reality continues to ruin my life." - Calvin.