aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr')
-rw-r--r--lpg/libqr/code-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lpg/libqr/code-parse.c b/lpg/libqr/code-parse.c
index 8e36a15..d4a2538 100644
--- a/lpg/libqr/code-parse.c
+++ b/lpg/libqr/code-parse.c
@@ -269,7 +269,7 @@ int qr_code_parse(const void * buffer,
if (status != 0)
goto cleanup;
- *data = malloc(sizeof(*data));
+ *data = malloc(sizeof(**data));
if (*data == NULL) {
status = -1;
goto cleanup;