8129511: PlatformMidi.c:83 uses malloc without malloc header
Reviewed-by: ant, azvegint
This commit is contained in:
parent
318513bcf7
commit
45f00a6646
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2002, 2007, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -29,6 +29,8 @@
|
|||||||
|
|
||||||
#include "PlatformMidi.h"
|
#include "PlatformMidi.h"
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
char* GetInternalErrorStr(INT32 err) {
|
char* GetInternalErrorStr(INT32 err) {
|
||||||
switch (err) {
|
switch (err) {
|
||||||
case MIDI_SUCCESS: return "";
|
case MIDI_SUCCESS: return "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user