]> eyrie.org Git - kerberos/krb5-strength.git/commitdiff
Fix a memory leak during SQLite dictionary initialization
authorRuss Allbery <eagle@eyrie.org>
Wed, 26 Mar 2014 06:23:09 +0000 (23:23 -0700)
committerRuss Allbery <eagle@eyrie.org>
Wed, 26 Mar 2014 06:23:09 +0000 (23:23 -0700)
plugin/sqlite.c

index a6de2e9144c8ae118528aaf421f6822eac0a0ac9..83ec900f7a00b3131d9a6877727deec22568c10f 100644 (file)
@@ -238,6 +238,7 @@ strength_init_sqlite(krb5_context ctx, krb5_pwqual_moddata data)
         return error_sqlite(ctx, data, "cannot prepare suffix query");
 
     /* Finished.  Return success. */
+    free(path);
     return 0;
 }