Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324436
b: refs/heads/master
c: d5ab482
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 4379c91 commit 599540a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16e87100e62330cb1e58ee772cacb7d4e6d5b61b
refs/heads/master: d5ab482799e7c4c4b7c0aa67e8710dce28115d03
3 changes: 2 additions & 1 deletion trunk/tools/hv/hv_kvp_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static void kvp_update_file(int pool)
sizeof(struct kvp_record),
kvp_file_info[pool].num_records, filep);

fflush(filep);
fclose(filep);
kvp_release_lock(pool);
}

Expand Down Expand Up @@ -207,6 +207,7 @@ static void kvp_update_mem_state(int pool)
kvp_file_info[pool].records = record;
kvp_file_info[pool].num_records = records_read;

fclose(filep);
kvp_release_lock(pool);
}
static int kvp_file_init(void)
Expand Down

0 comments on commit 599540a

Please sign in to comment.