Merged revisions 305131 via svnmerge from
[asterisk/asterisk.git] / res / res_musiconhold.c
index bce86a8..f905b8a 100644 (file)
@@ -1277,6 +1277,8 @@ static struct mohclass *_moh_class_malloc(const char *file, int line, const char
 #endif
                )) {
                class->format = AST_FORMAT_SLINEAR;
+               class->srcfd = -1;
+               class->pseudofd = -1;
        }
 
        return class;