--- a/trunk/php-java-bridge/client.c +++ b/trunk/php-java-bridge/client.c @@ -665,7 +665,7 @@ } assert(JG(servlet)); free(JG(servlet)); - JG(servlet) = tmp = malloc(len+bridge_extension_size+100); + JG(servlet) = tmp = malloc(len+bridge_extension_size); assert(tmp); if(!tmp) exit(9); strcpy(tmp, strval); strcat(tmp, bridge_extension);