The Samba-Bugzilla – Attachment 6877 Details for
Bug 8449
simple use case results in "no talloc stackframe around, leaking memory" error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Examine, compile and run this tiny program.
test.c (text/x-csrc), 444 bytes, created by
Mr Temporary
on 2011-09-11 10:29:20 UTC
(
hide
)
Description:
Examine, compile and run this tiny program.
Filename:
MIME Type:
Creator:
Mr Temporary
Created:
2011-09-11 10:29:20 UTC
Size:
444 bytes
patch
obsolete
>#include <stdio.h> >#include <libsmbclient.h> > >int main () { > SMBCCTX *c = smbc_new_context(); > smbc_init_context(c); > > // If the given path doesn't reference something that is actually > // accessible, then the error doesn't occur. > smbc_getFunctionOpendir(c)(c, "smb://localhost\0"); > > // Not freeing the context also gets rid of the error. > // Calling this function triggers the error message. > smbc_free_context(c, 1); > > return 0; >}
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 8449
: 6877 |
9821
|
9823
|
10067