Commit b0528fe
Free module context even if there was no content written in auxsave2 (#2132)
When a module saves to the Aux metadata with aux_save2 callback, the
module context is not freed if the module didn't save anything in the
callback.
https://github.com/valkey-io/valkey/blob/8.1.1/src/rdb.c#L1277-L1284.
Note that we return 0, however we should be doing the cleanup done on
https://github.com/valkey-io/valkey/blob/8.1.1/src/rdb.c#L1300-L1303
still.
Fixes #2125
Signed-off-by: Jacob Murphy <[email protected]>
Signed-off-by: Harkrishn Patro <[email protected]>1 parent 3cc1ecc commit b0528fe
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
1283 | 1287 | | |
1284 | 1288 | | |
1285 | 1289 | | |
| |||
0 commit comments