Free nonces on completion [CID-104]
authorLove Hornquist Astrand <lha@h5l.org>
Thu, 30 Jul 2009 08:44:18 +0000 (10:44 +0200)
committerLove Hornquist Astrand <lha@h5l.org>
Thu, 30 Jul 2009 08:44:18 +0000 (10:44 +0200)
kuser/kdigest.c

index 30b6ec9da205d9e2b90c4f930039ad987d613d0a..162e40adfa635ef4a3449666c8b47c40d79f11e4 100644 (file)
@@ -403,7 +403,9 @@ digest_client_request(struct digest_client_request_options *opt,
                        opt->username_string,
                        opt->password_string);
     }
-       
+    if (client_nonce)
+       free(client_nonce);
+    free(server_nonce);
 
     return 0;
 }