diff options
| author | 2010-06-05 15:21:00 +0200 | |
|---|---|---|
| committer | 2010-09-07 11:25:22 +0200 | |
| commit | 808cc7ee2cbca2ce560770d6bc35ee70b3a4ae22 (patch) | |
| tree | 03b4309ebd15435f39f671d31050fa88746ec602 /src/fw.c | |
| parent | Treat the kernel's iso context handle as opaque item (diff) | |
Always imply iso shutdown in fw_destroy_handle
because ieee1394_destroy_handle does it too. Otherwise, clients which
rely on the ieee1394 backend behaviour leak memory when running on the
juju backend.
Also add the ability to call fw_iso_shutdown multiple times or before
a successful context initialization. Faulty clients might rely on it
based on ieee1394 backend behaviour.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to '')
| -rw-r--r-- | src/fw.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -502,9 +502,8 @@ void fw_destroy_handle(fw_handle_t handle) close(handle->devices[i].fd); } - + fw_iso_shutdown(handle); close(handle->epoll_fd); - free(handle); return; |
