Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
269236c1
Commit
269236c1
authored
Apr 05, 2006
by
Robert Reif
Committed by
Alexandre Julliard
Apr 06, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winearts: Don't call arts_free if arts_init wasn't successful.
parent
f8cb60f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
audio.c
dlls/winmm/winearts/audio.c
+5
-1
No files found.
dlls/winmm/winearts/audio.c
View file @
269236c1
...
...
@@ -202,6 +202,7 @@ typedef struct {
ARTS_MSG_RING
msgRing
;
}
WINE_WAVEIN
;
static
BOOL
init
;
static
WINE_WAVEOUT
WOutDev
[
MAX_WAVEOUTDRV
];
static
WINE_WAVEIN
WInDev
[
MAX_WAVEINDRV
];
...
...
@@ -380,7 +381,8 @@ LONG ARTS_WaveClose(void)
}
}
arts_free
();
/* free up arts */
if
(
init
)
arts_free
();
/* free up arts */
return
1
;
}
...
...
@@ -415,6 +417,8 @@ LONG ARTS_WaveInit(void)
if
(
ret
)
return
ret
;
init
=
TRUE
;
/* initialize all device handles to -1 */
for
(
i
=
0
;
i
<
MAX_WAVEOUTDRV
;
++
i
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment