diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kernel/debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/kernel/debug.c b/arch/s390/kernel/debug.c index 369de12b8733..be8bceaf37d9 100644 --- a/arch/s390/kernel/debug.c +++ b/arch/s390/kernel/debug.c | |||
@@ -642,8 +642,7 @@ found: | |||
642 | p_info = kmalloc(sizeof(file_private_info_t), | 642 | p_info = kmalloc(sizeof(file_private_info_t), |
643 | GFP_KERNEL); | 643 | GFP_KERNEL); |
644 | if(!p_info){ | 644 | if(!p_info){ |
645 | if(debug_info_snapshot) | 645 | debug_info_free(debug_info_snapshot); |
646 | debug_info_free(debug_info_snapshot); | ||
647 | rc = -ENOMEM; | 646 | rc = -ENOMEM; |
648 | goto out; | 647 | goto out; |
649 | } | 648 | } |