Tidied up

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22977 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-05-24 08:27:39 +00:00
parent 7cf503e096
commit 6d7eae6095
19 changed files with 111 additions and 95 deletions

View file

@ -18,7 +18,8 @@
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA.
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/
/*
@ -339,7 +340,7 @@ objc_get_symbol_path(Class theClass, Category *theCategory)
{
if (len + sizeof(char)*19 > sizeof(buf))
{
p = malloc(len + sizeof(char)*19);
p = objc_malloc(len + sizeof(char)*19);
if (p == NULL)
{
@ -358,7 +359,7 @@ objc_get_symbol_path(Class theClass, Category *theCategory)
if (len + sizeof(char)*23 > sizeof(buf))
{
p = malloc(len + sizeof(char)*23);
p = objc_malloc(len + sizeof(char)*23);
if (p == NULL)
{
@ -379,7 +380,7 @@ objc_get_symbol_path(Class theClass, Category *theCategory)
if (p != buf)
{
free(p);
objc_free(p);
}
if (ret)