Skip to content

Commit 5d453ac

Browse files
authored
Merge pull request #244 from embhorn/rel_v1.10_take2
Fix nb client build issue
2 parents ab60257 + d6df691 commit 5d453ac

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

examples/nbclient/nbclient.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,8 @@ int mqttclient_test(MQTTCtx *mqttCtx)
554554
do {
555555
rc = mqttclient_test(&mqttCtx);
556556
} while (rc == MQTT_CODE_CONTINUE);
557+
558+
mqtt_free_ctx(&mqttCtx);
557559
#else
558560
(void)argc;
559561
(void)argv;
@@ -563,7 +565,6 @@ int mqttclient_test(MQTTCtx *mqttCtx)
563565
PRINTF("Example not compiled in!");
564566
rc = 0; /* return success, so make check passes with TLS disabled */
565567
#endif
566-
mqtt_free_ctx(&mqttCtx);
567568

568569
return (rc == 0) ? 0 : EXIT_FAILURE;
569570
}

wolfmqtt/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ extern "C" {
3535
#endif
3636

3737
#define LIBWOLFMQTT_VERSION_STRING "1.10.0"
38-
#define LIBWOLFMQTT_VERSION_HEX 0x0100A000
38+
#define LIBWOLFMQTT_VERSION_HEX 0x01010000
3939

4040
#ifdef __cplusplus
4141
}

0 commit comments

Comments
 (0)