projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
client: Fix a memory leak in an error path
[fio.git]
/
goptions.c
diff --git
a/goptions.c
b/goptions.c
index b3d3684697707f962ff311c2a578be87ae078f05..f44254bf38df5dcea4f0c5ca08f0bc3c3608d531 100644
(file)
--- a/
goptions.c
+++ b/
goptions.c
@@
-1,5
+1,5
@@
#include <locale.h>
#include <locale.h>
-#include <
malloc
.h>
+#include <
stdlib
.h>
#include <string.h>
#include <glib.h>
#include <string.h>
#include <glib.h>
@@
-826,7
+826,7
@@
static struct gopt *gopt_new_str_val(struct gopt_job_view *gjv,
unsigned long long *p, unsigned int idx)
{
struct gopt_str_val *g;
unsigned long long *p, unsigned int idx)
{
struct gopt_str_val *g;
- const gchar *postfix[] = { "B", "K
B", "MB", "GB", "PB", "T
B", "" };
+ const gchar *postfix[] = { "B", "K
iB", "MiB", "GiB", "PiB", "Pi
B", "" };
GtkWidget *label;
int i;
GtkWidget *label;
int i;