git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef4d08
)
Ensure we don't free uninitialized variables.
author
Jeremy Allison
<jra@samba.org>
Tue, 22 Nov 2011 23:53:26 +0000
(15:53 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 23 Nov 2011 01:27:52 +0000
(
02:27
+0100)
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Nov 23 02:27:53 CET 2011 on sn-devel-104
lib/addns/dnsrecord.c
patch
|
blob
|
history
diff --git
a/lib/addns/dnsrecord.c
b/lib/addns/dnsrecord.c
index de70bca214e812b2bbd713d678c21e3a2bccd831..f9435da544306a72510da6f6110e574bb08c0122 100644
(file)
--- a/
lib/addns/dnsrecord.c
+++ b/
lib/addns/dnsrecord.c
@@
-309,8
+309,8
@@
DNS_ERROR dns_create_tsig_record(TALLOC_CTX *mem_ctx, const char *keyname,
uint16 original_id, uint16 error,
struct dns_rrec **prec)
{
- struct dns_buffer *buf;
- struct dns_domain_name *algorithm;
+ struct dns_buffer *buf
= NULL
;
+ struct dns_domain_name *algorithm
= NULL
;
DNS_ERROR err;
if (!(buf = dns_create_buffer(mem_ctx))) {