--- gst/udp/gstudpnetutils.c	2009-05-12 02:00:06.000000000 +0200
+++ gst/udp/gstudpnetutils.c.new	2009-07-07 16:42:51.000000000 +0200
@@ -79,7 +79,7 @@ gst_udp_get_sockaddr_length (struct sock
 int
 gst_udp_get_addr (const char *hostname, int port, struct sockaddr_storage *addr)
 {
-  struct addrinfo hints, *res, *nres;
+  struct addrinfo hints, *res=NULL, *nres;
   char service[NI_MAXSERV];
   int ret;
 
