Check-in Number:
|
3196 | |
Date: |
2003-Feb-10 21:21:49 (local)
2003-Feb-10 20:21:49 (UTC) |
User: | rse |
Branch: | |
Comment: |
fix first set of memory leaks |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/var/var.c 1.91 -> 1.92
--- var.c 2003/02/10 15:37:15 1.91
+++ var.c 2003/02/10 20:21:49 1.92
@@ -702,6 +702,7 @@
rc = VAR_ERR_OUT_OF_MEMORY;
goto error_return;
}
+ tokenbuf_free(&tmp);
}
} while (rc > 0);
tokenbuf_free(&tmp);
@@ -1936,6 +1937,7 @@
rc = VAR_ERR_OUT_OF_MEMORY;
goto error_return;
}
+ tokenbuf_free(&tmp);
p += rc;
}
} while (rc > 0);
|
|