s3-spoolss: Free the info2 structure in _spoolss_GetPrinter.
authorAndreas Schneider <asn@samba.org>
Mon, 25 Jul 2011 19:52:29 +0000 (21:52 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 27 Jul 2011 06:50:01 +0000 (08:50 +0200)
source3/rpc_server/spoolss/srv_spoolss_nt.c

index 9e241b576d2c864eec40861e495ea7bb870321ad..34ad67aaa6d5b5457dcb436950efc20e5e029d47 100644 (file)
@@ -4853,6 +4853,7 @@ WERROR _spoolss_GetPrinter(struct pipes_struct *p,
                result = WERR_UNKNOWN_LEVEL;
                break;
        }
+       TALLOC_FREE(info2);
 
  out:
        if (!W_ERROR_IS_OK(result)) {