Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 17b5c20b330917fd6e8cf47e88f2fe22 > files > 90

samba-3.5.11-79.fc14.x86_64.rpm

#include <libsmbclient.h>

void create_and_destroy_context (void)
{
  SMBCCTX *ctx;
  ctx = smbc_new_context ();
  smbc_init_context (ctx);

  smbc_free_context (ctx, 1);
}

int main (int argc, char **argv)
{
  create_and_destroy_context ();
  create_and_destroy_context ();
  return 0;
}