The Samba-Bugzilla – Attachment 473 Details for
Bug 1289
memleak in copy_service
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
potential fix
copy-service-memleak.patch (text/plain), 531 bytes, created by
Chris Pascoe
on 2004-04-22 18:52:39 UTC
(
hide
)
Description:
potential fix
Filename:
MIME Type:
Creator:
Chris Pascoe
Created:
2004-04-22 18:52:39 UTC
Size:
531 bytes
patch
obsolete
>diff -ru samba-3.0.3rc1-dist/source/param/loadparm.c samba-3.0.3rc1-itee/source/param/loadparm.c >--- samba-3.0.3rc1-dist/source/param/loadparm.c 2004-04-21 06:42:54.000000000 +1000 >+++ samba-3.0.3rc1-itee/source/param/loadparm.c 2004-04-21 17:18:06.000000000 +1000 >@@ -2521,6 +2521,8 @@ > strupper_m(*(char **)dest_ptr); > break; > case P_LIST: >+ if (*(char **)dest_ptr != NULL) >+ str_list_free((char ***) dest_ptr); > str_list_copy((char ***)dest_ptr, *(const char ***)src_ptr); > break; > default:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1289
: 473