16cf97e
@@ -1305,6 +1305,13 @@
}
+ if (key.data) {
+ free(key.data);
+ }
+ if (data.data) {
+ free(data.data);
+
ret = cursor->c_close(cursor);
if (ret != 0) {
printf("Can't close the cursor (?!): %s\n", db_strerror(ret));
Bug: the latest allocation of a database iteratioj is not freed,
Fix: after the iteration free key/data structs
Reviewed by: ?
Ack
rebased onto 16cf97e
Pull-Request has been merged by lkrispen
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This pull request has been cloned to Github as issue and is available here: - https://github.com/389ds/389-ds-base/issues/3667
If you want to continue to work on the PR, please navigate to the github issue, download the patch from the attachments and file a new pull request.
Thank you for understanding. We apologize for all inconvenience.
Pull-Request has been closed by spichugi
Bug: the latest allocation of a database iteratioj is not freed,
Fix: after the iteration free key/data structs
Reviewed by: ?