projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 3.3.2
[debian/amanda]
/
amandad-src
/
amandad.c
diff --git
a/amandad-src/amandad.c
b/amandad-src/amandad.c
index e3f11a0f38465b5ccf97bad02694deb1310b1ccd..11009d854ef405fbbfd443427c61e2bfba83e9ab 100644
(file)
--- a/
amandad-src/amandad.c
+++ b/
amandad-src/amandad.c
@@
-564,6
+564,7
@@
protocol_accept(
char *service_path = NULL;
GSList *errlist = NULL;
int i;
char *service_path = NULL;
GSList *errlist = NULL;
int i;
+ char *peer_name;
pkt_out.body = NULL;
pkt_out.body = NULL;
@@
-600,7
+601,9
@@
protocol_accept(
return;
}
return;
}
- g_debug("authenticated peer name is '%s'", security_get_authenticated_peer_name(handle));
+ peer_name = security_get_authenticated_peer_name(handle);
+ g_debug("authenticated peer name is '%s'", peer_name);
+ amfree(peer_name);
/*
* If pkt is NULL, then there was a problem with the new connection.
/*
* If pkt is NULL, then there was a problem with the new connection.