about summary refs log tree commit diff
path: root/shared/n-dhcp4/src
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2019-09-06 09:26:09 +0200
committerMichael Biebl <biebl@debian.org>2019-09-06 09:26:09 +0200
commit473dd863356491d7b984baef9c72e886c774a451 (patch)
treef7863ed06a67003b8a362e1146a1dff22ea16c55 /shared/n-dhcp4/src
parentdf49315721969c1013256ce92c6a0f825450f814 (diff)
parent555dfa331e295a3a687a7cc6870e1349ffed8f26 (diff)
Update upstream source from tag 'upstream/1.20.2'
Update to upstream version '1.20.2'
with Debian dir 0356038b3aea3f0577988e0b1019b86c657592cd
Diffstat (limited to 'shared/n-dhcp4/src')
-rw-r--r--shared/n-dhcp4/src/n-dhcp4-c-probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/n-dhcp4/src/n-dhcp4-c-probe.c b/shared/n-dhcp4/src/n-dhcp4-c-probe.c
index 308cff83..f1ac3db7 100644
--- a/shared/n-dhcp4/src/n-dhcp4-c-probe.c
+++ b/shared/n-dhcp4/src/n-dhcp4-c-probe.c
@@ -26,7 +26,7 @@ static int n_dhcp4_client_probe_option_new(NDhcp4ClientProbeOption **optionp,
                                     uint8_t n_data) {
         NDhcp4ClientProbeOption *op;
 
-        op = malloc(sizeof(op) + n_data);
+        op = malloc(sizeof(*op) + n_data);
         if (!op)
                 return -ENOMEM;