git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aebb1b8
)
Fix a malloc/talloc mixup
author
Volker Lendecke
<vl@samba.org>
Sat, 2 May 2009 10:40:29 +0000
(12:40 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 2 May 2009 10:44:31 +0000
(12:44 +0200)
source3/lib/charcnv.c
patch
|
blob
|
history
diff --git
a/source3/lib/charcnv.c
b/source3/lib/charcnv.c
index b94566863c51e45ef8b34d95b9150df6396c9a06..1f2fa63f3e999eb1f878faa00c5a770ebf01484f 100644
(file)
--- a/
source3/lib/charcnv.c
+++ b/
source3/lib/charcnv.c
@@
-759,7
+759,7
@@
size_t unix_strupper(const char *src, size_t srclen, char *dest, size_t destlen)
}
if (!strupper_w(buffer) && (dest == src)) {
-
free
(buffer);
+
TALLOC_FREE
(buffer);
return srclen;
}