Skip to content

Commit

Permalink
Close file pointer to avoid resource leak. CID#1090411
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Sep 19, 2013
1 parent 69289a0 commit d9e9400
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/usb_moded-mac.c
Expand Up @@ -89,5 +89,6 @@ char * read_mac(void)
else
ret = 0;
free(mac);
fclose(g_ether);
return(ret);
}

0 comments on commit d9e9400

Please sign in to comment.