libgeda: fix memory leak introduced with the last commit.