xf86-video-intel: src/legacy/i810 src/xvmc/i965_xvmc.c src/xvmc/intel_xvmc.c src/xvmc/xvmc_vld.c

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Sat Oct 29 20:16:28 PDT 2011


 src/legacy/i810/xvmc/I810XvMC.c |    2 +-
 src/xvmc/i965_xvmc.c            |    2 +-
 src/xvmc/intel_xvmc.c           |    2 +-
 src/xvmc/xvmc_vld.c             |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit da3f8656744f7c801608c7c89a859c0f7dc9e6e0
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Sat Oct 29 20:15:11 2011 -0700

    Use malloc/calloc/realloc/free directly
    
    Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>

diff --git a/src/legacy/i810/xvmc/I810XvMC.c b/src/legacy/i810/xvmc/I810XvMC.c
index 0754ff4..e6b63d3 100644
--- a/src/legacy/i810/xvmc/I810XvMC.c
+++ b/src/legacy/i810/xvmc/I810XvMC.c
@@ -4323,7 +4323,7 @@ static XvAttribute I810_XVMC_ATTRIBUTES[] = {
 // Function: XvMCQueryAttributes
 // Description: An array of XvAttributes of size "number" is returned by
 //   this function. If there are no attributes, NULL is returned and number
-//   is set to 0. The array may be freed with xfree().
+//   is set to 0. The array may be freed with free().
 //
 // Arguments:
 //   display - Connection to the X server.
diff --git a/src/xvmc/i965_xvmc.c b/src/xvmc/i965_xvmc.c
index 210cf73..261cf35 100644
--- a/src/xvmc/i965_xvmc.c
+++ b/src/xvmc/i965_xvmc.c
@@ -244,7 +244,7 @@ static Status destroy_context(Display * display, XvMCContext * context)
 {
 	struct intel_xvmc_context *intel_ctx;
 	intel_ctx = context->privData;
-	Xfree(intel_ctx->hw);
+	free(intel_ctx->hw);
 	free(intel_ctx);
 	return Success;
 }
diff --git a/src/xvmc/intel_xvmc.c b/src/xvmc/intel_xvmc.c
index 1b96945..883dada 100644
--- a/src/xvmc/intel_xvmc.c
+++ b/src/xvmc/intel_xvmc.c
@@ -972,7 +972,7 @@ _X_EXPORT Status XvMCGetSubpictureStatus(Display * display,
  * Function: XvMCQueryAttributes
  * Description: An array of XvAttributes of size "number" is returned by
  *   this function. If there are no attributes, NULL is returned and number
- *   is set to 0. The array may be freed with xfree().
+ *   is set to 0. The array may be freed with free().
  *
  * Arguments:
  *   display - Connection to the X server.
diff --git a/src/xvmc/xvmc_vld.c b/src/xvmc/xvmc_vld.c
index 570e9b6..3f5fa5e 100644
--- a/src/xvmc/xvmc_vld.c
+++ b/src/xvmc/xvmc_vld.c
@@ -622,7 +622,7 @@ static Status destroy_context(Display * display, XvMCContext * context)
 {
 	struct intel_xvmc_context *intel_ctx;
 	intel_ctx = context->privData;
-	Xfree(intel_ctx->hw);
+	free(intel_ctx->hw);
 	free(intel_ctx);
 	return Success;
 }


More information about the xorg-commit mailing list