projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] Fix hugetlb problems
[fio.git]
/
memory.c
diff --git
a/memory.c
b/memory.c
index a7bf82a88fbafd276be899e769e29348c1682757..d336c2bcb8cea017b6d9db980e3c39a95d70c717 100644
(file)
--- a/
memory.c
+++ b/
memory.c
@@
-98,7
+98,7
@@
void free_io_mem(struct thread_data *td)
{
if (td->mem_type == MEM_MALLOC)
free(td->orig_buffer);
- else if (td->mem_type == MEM_SHM) {
+ else if (td->mem_type == MEM_SHM
|| td->mem_type == MEM_SHMHUGE
) {
struct shmid_ds sbuf;
shmdt(td->orig_buffer);