variables: factorize the callback code, using a special function.
authorRémi Duraffort <ivoire@videolan.org>
Fri, 24 Jul 2009 08:39:05 +0000 (10:39 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Fri, 24 Jul 2009 08:39:05 +0000 (10:39 +0200)
commitafce97e9b349c18d49f85859053eafdf78b76c67
tree8971ef9cdf54b1bf3f063763cf81bcf3f1ad0d27
parent5e57cc0c1fc3618d5c77e6fa950327065f8b35de
variables: factorize the callback code, using a special function.
As a side effect, fix a potential memleak if the variable disappeares in
var_SetChecked.
src/misc/variables.c