mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
sysutils/bacula15-server: Apply upstream bpipe patch
* https://sourceforge.net/p/bacula/mailman/message/59121596/
* 453dc8ef9e
PR: 284250
This commit is contained in:
parent
30af11cd13
commit
005727cf88
2 changed files with 14 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= bacula
|
||||
DISTVERSION= 15.0.2
|
||||
PORTREVISION= 5
|
||||
PORTREVISION= 6
|
||||
CATEGORIES?= sysutils
|
||||
MASTER_SITES= SF/bacula/bacula/${DISTVERSION}
|
||||
PKGNAMEPREFIX?= #
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
--- src/plugins/fd/bpipe-fd.c.orig 2024-03-22 09:48:41 UTC
|
||||
+++ src/plugins/fd/bpipe-fd.c
|
||||
@@ -202,7 +202,9 @@ static bRC freePlugin(bpContext *ctx)
|
||||
if (!p_ctx) {
|
||||
return bRC_Error;
|
||||
}
|
||||
- bfree_and_null(p_ctx->cmd);
|
||||
+ if (p_ctx->cmd) {
|
||||
+ free(p_ctx->cmd); /* free any allocated command string */
|
||||
+ }
|
||||
free_and_null_pool_memory(p_ctx->restore_obj_buf);
|
||||
if (p_ctx->rop_writer) {
|
||||
restoreobj *rop;
|
Loading…
Add table
Reference in a new issue