diff options
Diffstat (limited to 'lpg')
-rw-r--r-- | lpg/libqr/code-parse.c | 2 |
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; |