X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fclasspath.c;h=4809fc629c0d9802bc6b08a80d6584074cef14af;hb=e5a4188fdeb95aa41503ce6d11b43e833958f32f;hp=b87ceab49bb4fbf4ecd12942b64f7916cf9cf31d;hpb=99099106c3c1cb16ed1e91be970332fe225e278b;p=gnulib.git diff --git a/lib/classpath.c b/lib/classpath.c index b87ceab49..4809fc629 100644 --- a/lib/classpath.c +++ b/lib/classpath.c @@ -66,7 +66,7 @@ new_classpath (const char * const *classpaths, unsigned int classpaths_count, if (classpaths_count > 0 && old_classpath[0] == '\0') length--; - result = (char *) xmalloc (length + 1); + result = XNMALLOC (length + 1, char); p = result; for (i = 0; i < classpaths_count; i++) {