X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=extras%2Fvolume_id%2Flib%2Fvolume_id.c;h=ef2b663f6c9a86c18e95d8b8f9fe1e66672b92f2;hb=550d5c28791a1bd50bd70bab6f9c4ee419e3ad50;hp=86e66bb76c80dc8f5eb9d7b70734abeb04bf42c0;hpb=2603474ff9be2418900581da1af5cccc9f13cae1;p=elogind.git diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index 86e66bb76..ef2b663f6 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -501,9 +501,6 @@ void volume_id_close(struct volume_id *id) if (id == NULL) return; - if (id->fd_close != 0) - close(id->fd); - volume_id_free_buffer(id); free(id);