Permalink
Browse files

udisks2_util.c: fix memory leak

  • Loading branch information...
ocerman authored and lpereira committed Dec 9, 2018
1 parent d1ef46f commit be021391e646713fe1e8677725fd9338139d3ba8
Showing with 1 addition and 0 deletions.
  1. +1 −0 hardinfo/udisks2_util.c
@@ -122,6 +122,7 @@ udiskd *udiskd_new() {
void udiskd_free(udiskd *u) {
if (u) {
g_free(u->block_dev);
g_free(u->serial);
g_free(u->media);
g_free(u->media_compatibility);
g_free(u);

0 comments on commit be02139

Please sign in to comment.