OSSP CVS Repository

ossp - Check-in [3195]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3195
Date: 2003-Feb-10 20:29:00 (local)
2003-Feb-10 19:29:00 (UTC)
User:rse
Branch:
Comment: fix memory leak in var_play utility
Tickets:
Inspections:
Files:
ossp-pkg/var/var_play.c      1.4 -> 1.5     1 inserted, 0 deleted

ossp-pkg/var/var_play.c 1.4 -> 1.5

--- var_play.c   2003/02/10 15:37:15     1.4
+++ var_play.c   2003/02/10 19:29:00     1.5
@@ -60,6 +60,7 @@
 
     var_strerror(var, rc, &error);
     fprintf(stderr, "ERROR: %s: %s (%d)\n", context, error, rc);
+    var_destroy(var);
     exit(1);
 }
 

CVSTrac 2.0.1