libgeda: fix memory leak introduced with the last commit.master
commit199743d5ae8e89fa4065e544d998ebaeab1c1cd6
authorWerner Hoch <werner.ho@gmx.de>
Sun, 15 Jun 2008 07:51:17 +0000 (15 09:51 +0200)
committerWerner Hoch <werner.ho@gmx.de>
Sun, 15 Jun 2008 07:51:17 +0000 (15 09:51 +0200)
tree654600fe107b54b92ab11e6e18757363756b41f5
parenteaa61c6968d3e17d0525cc476bf4c6d54ebd494d
libgeda: fix memory leak introduced with the last commit.

The function g_path_get_basename returns a newly allocated string.
This string has to be freed after usage. Thanks to Peter C. for the
hint.
libgeda/src/o_picture.c