diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-09-17 11:17:04 +0200 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-09-17 11:17:04 +0200 | 
| commit | 609580d6e9705ba948c59600ffb022a891b31f40 (patch) | |
| tree | c47ad75146ff45d4b9d386d4d519b6faf2e4d1d8 | |
| parent | 8ef814812b93b2039b89f8a107d45c2ec21b2a8e (diff) | |
Fix segfault in dev_list.
| -rw-r--r-- | libusbhp/libusbhp.cc | 1 | 
1 files changed, 0 insertions, 1 deletions
diff --git a/libusbhp/libusbhp.cc b/libusbhp/libusbhp.cc index 4058c10..16b8c0a 100644 --- a/libusbhp/libusbhp.cc +++ b/libusbhp/libusbhp.cc @@ -124,7 +124,6 @@ static int dev_list_remove(struct libusbhp_t *h, const char *path)        struct dev_list_t *pp = p->next;        p->next = pp->next;        free(pp->path); -      free(pp->next);        free(pp);        return 0;      }  | 
