diff options
author | Masakazu Mokuno <mokuno@sm.sony.co.jp> | 2008-10-30 08:17:18 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-11-06 09:49:35 +1100 |
commit | d4ad304841a9790d4fa35e51d6aa9baeba631559 (patch) | |
tree | 04a8b4198ec92b70c0eb244155c664c0c4a95818 /arch/powerpc/mm | |
parent | 3cc698789a3f44dabc5eed389b6c123caf787c0f (diff) |
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: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions