Commit 4f43d786 authored by npzacs's avatar npzacs
Browse files

Fix leak in error path

parent 277642b2
......@@ -187,6 +187,7 @@ MMCDEV *device_open(const char *path)
dev->fd = fd;
return dev;
return NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment