hmm, nothing important
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Apr 2006 17:53:43 +0000 (17:53 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Apr 2006 17:53:43 +0000 (17:53 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@703 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/polypcore/modinfo.c

index e090a42..39186ce 100644 (file)
@@ -42,7 +42,7 @@ pa_modinfo *pa_modinfo_get_by_handle(lt_dlhandle dl) {
     const char* (*func)(void);
     assert(dl);
 
-    i = pa_xmalloc0(sizeof(pa_modinfo));
+    i = pa_xnew0(pa_modinfo, 1);
 
     if ((func = (const char* (*)(void)) lt_dlsym(dl, PA_SYMBOL_AUTHOR)))
         i->author = pa_xstrdup(func());