While looking at some compilerwarnings I found an alloca and an
    strcpy.

What is wrong with that?  I don't see any problem in it.

             And I realized this can also be done as follows:

    +  if ((error_msg = strdup(error_message)) == NULL)
    +    errx(1, "Out of memory.");

This creates a memory leak.


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to