Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed typo-related memory leak.
[doldaconnect.git]
/
daemon
/
fnet-dc.c
diff --git
a/daemon/fnet-dc.c
b/daemon/fnet-dc.c
index
348a53a
..
2e490ea
100644
(file)
--- a/
daemon/fnet-dc.c
+++ b/
daemon/fnet-dc.c
@@
-872,7
+872,7
@@
static void cmd_hubname(struct socket *sk, struct fnetnode *fn, char *cmd, char
struct dchub *hub;
hub = fn->data;
- if(hub->nativename
=
= NULL)
+ if(hub->nativename
!
= NULL)
free(hub->nativename);
hub->nativename = sstrdup(args);
buf = icmbstowcs(args, hub->charset);