summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/store.h
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2013-06-19 16:07:25 +0530
committerVijay Bellur <vbellur@redhat.com>2013-07-02 10:25:44 -0700
commit979a17d49a8dc9a19d9f3a466c137d5cf2c79a07 (patch)
treeec8623188d6b9f30bf6ca8edbb186f0e4d8598e7 /libglusterfs/src/store.h
parentef8092fab7b6fa5a16cc0e22b75945758519d5a6 (diff)
store: Fix resource leaks in gf_store_iter_* functions
Also, removed (redundant) member fd from gf_store_iter_t Change-Id: I40f0469997f77fa2f578a5495ca4ce285f1a59f2 BUG: 904065 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/5243 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/store.h')
-rw-r--r--libglusterfs/src/store.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/libglusterfs/src/store.h b/libglusterfs/src/store.h
index 8138b4cd9bd..4fe432e56de 100644
--- a/libglusterfs/src/store.h
+++ b/libglusterfs/src/store.h
@@ -26,7 +26,6 @@ struct gf_store_handle_ {
typedef struct gf_store_handle_ gf_store_handle_t;
struct gf_store_iter_ {
- int fd;
FILE *file;
char filepath[PATH_MAX];
};