Skip to content
Commit d4ad3048 authored by Masakazu Mokuno's avatar Masakazu Mokuno Committed by Paul Mackerras
Browse files

powerpc/ps3: Fix memory leak in device init



Free dynamically allocated device data structures when device registration
fails.  This fixes memory leakage when the registration fails.

Signed-off-by: default avatarMasakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: default avatarGeoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 3cc69878
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment