diff options
author | Michael Ernst <mernst@de.ibm.com> | 2009-10-06 10:33:59 +0200 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2009-10-06 10:35:06 +0200 |
commit | ec00440786f413133997396308f41184eb705a6d (patch) | |
tree | 1f0c2cafba5e2ac8f59602671e2a61d34bf18b89 /drivers/s390/cio/qdio_main.c | |
parent | 6a03f5f0a0a660895eac03749165c1f9313ef2b8 (diff) |
[S390] cio: channel path memory leak
Move dev_set_name to when we know that the device will actually be
registered in order to avoid a memory leak if the allocated memory
for the channel path has to be freed.
Signed-off-by: Michael Ernst <mernst@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/qdio_main.c')
0 files changed, 0 insertions, 0 deletions