Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
ab1a126c
Commit
ab1a126c
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
libusbev: Fix memory leak
parent
027184cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/libusbev.cpp
+1
-0
1 addition, 0 deletions
server/libusbev.cpp
with
1 addition
and
0 deletions
server/libusbev.cpp
+
1
−
0
View file @
ab1a126c
...
...
@@ -57,6 +57,7 @@ void LibUSBEventBridge::cbRemoved(int fd, void *user_data)
Watcher
*
w
=
self
->
mWatchers
[
fd
];
ev_io_stop
(
self
->
mLoop
,
&
w
->
io
);
delete
w
;
self
->
mWatchers
.
erase
(
fd
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment