]> git.sur5r.net Git - u-boot/blobdiff - scripts/kconfig/kxgettext.c
efi_loader: correctly apply relocations from the .reloc section
[u-boot] / scripts / kconfig / kxgettext.c
index 2858738b22d5aeac27154f74af433540839d37a6..240880a89111df06e95da0b44b08fa8aa184fa58 100644 (file)
@@ -101,7 +101,7 @@ static struct message *message__new(const char *msg, char *option,
        if (self->files == NULL)
                goto out_fail;
 
-       self->msg = strdup(msg);
+       self->msg = xstrdup(msg);
        if (self->msg == NULL)
                goto out_fail_msg;