This website works better with JavaScript.
Home
Help
Sign In
jackaudio
/
jack1
mirror of
https://github.com/jackaudio/jack1
Watch
1
Star
0
Fork
0
Code
Releases
19
Activity
Browse Source
test malloc return value in jack_get_ports()
git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3750 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.117.0
paul
15 years ago
parent
f71f50d4f2
commit
a89f884391
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
libjack/client.c
+ 4
- 0
libjack/client.c
View File
@@ -2443,6 +2443,10 @@ jack_get_ports (jack_client_t *client,
matching_ports = (const char **)
malloc (sizeof (char *) * engine->port_max);
if (matching_ports == NULL) {
return NULL;
}
for (i = 0; i < engine->port_max; i++) {
matching = 1;
Write
Preview
Loading…
Cancel
Save