diff options
| author | 2008-07-21 22:01:03 -0700 | |
|---|---|---|
| committer | 2008-07-21 22:01:03 -0700 | |
| commit | 6747abb0572e15e4192ce30b410536d4e6761837 (patch) | |
| tree | c9b386de5e6b6e0deb669a7e7f78e61ca7d82f38 /src/dispatch.c | |
| parent | configure.ac, Makefile.am: drop debian from build and restore doc and tools (diff) | |
dispatch.c: fix a memory leak on not deleting the raw1394 wrapper handle.
Diffstat (limited to '')
| -rw-r--r-- | src/dispatch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dispatch.c b/src/dispatch.c index b15e8c5..6786a52 100644 --- a/src/dispatch.c +++ b/src/dispatch.c @@ -61,7 +61,8 @@ void raw1394_destroy_handle(raw1394handle_t handle) if (handle->is_fw) fw_destroy_handle(handle->mode.fw); else - ieee1394_destroy_handle(handle->mode.ieee1394);; + ieee1394_destroy_handle(handle->mode.ieee1394); + free(handle); } raw1394handle_t raw1394_new_handle_on_port(int port) |
