dispatch.c: fix a memory leak on not deleting the raw1394 wrapper handle.

This commit is contained in:
Dan Dennedy 2008-07-21 22:01:03 -07:00
parent 99e9f575bf
commit 6747abb057
1 changed files with 2 additions and 1 deletions

View File

@ -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)