Skip to content

Commit b8f10b5

Browse files
committed
Fix compilation problem against older MQ version (#189)
1 parent 80f9494 commit b8f10b5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22
Newest updates are at the top of this file.
33

4+
## Jul 23 2022 - v5.3.1
5+
- Fix #189 compile problem
6+
47
## Jun 23 2022 - v5.3.0
58
- Update for MQ 9.3.0
69
- ibmmq - Add MQI parameters for keystore passwords

ibmmq/mqiMQSCO.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ void setScoKeyRepoPassword(MQSCO *mqsco, PMQCHAR keyRepoPassword, MQLONG length)
3838
mqsco->KeyRepoPasswordPtr = keyRepoPassword;
3939
}
4040
#else
41-
if (keyRepoPasswordPtr != NULL) {
42-
free(keyRepoPasswordPtr);
41+
if (keyRepoPassword != NULL) {
42+
free(keyRepoPassword);
4343
}
4444
#endif
4545
}

0 commit comments

Comments
 (0)