[scan-build] Undefined allocation of 0 bytes

Call to 'alloca' has an allocation size of 0 bytes
File: /mnt/Home/with-git/dia/objects/standard/outline.c
Line: 371
[scan-build] Null pointer passed as an argument to a 'nonnull' parameter

chronoline_event.c:268:7: warning: Null pointer passed as an argument to
a 'nonnull' parameter
  if (strchr(events, ',') != NULL) {
      ^      ~~~~~~
[scan-build] Dereference of null pointer

dia_image.c:413:32: warning: Access to field 'image' results in a
dereference of a null pointer (loaded from variable 'image')
  if (gdk_pixbuf_get_has_alpha(image->image)) {
dox: fix copy&paste bug
Fix path to libEMF emf.h

All libEMF headers are in a libEMF subdir but that bdir does not
appear to be needed as a separate -I path. Instead of hardcoding
-I/usr/include/libEMF (bad idea to assume /usr as its prefix anyway)
and use "emf.h" via it, just directly check and use "libEMF/emf.h".

https://bugzilla.gnome.org/show_bug.cgi?id=719781

Signed-off-by: Hans Breuer <hans@breuer.org>
[warningectomy] sprinkle xmlChar* casts
svg: plug memory leaks triggered by path-variations.svg
svg: plug memory leaks triggered by gradient-variations.svg

Ooops, every pattern was leaked;)