Imported Upstream version 2.12.1
[platform/upstream/fontconfig.git] / src / fcmatrix.c
index f0c6139..a6fbca2 100644 (file)
@@ -38,7 +38,6 @@ FcMatrixCopy (const FcMatrix *mat)
     r = (FcMatrix *) malloc (sizeof (*r) );
     if (!r)
        return 0;
-    FcMemAlloc (FC_MEM_MATRIX, sizeof (FcMatrix));
     *r = *mat;
     return r;
 }
@@ -47,10 +46,7 @@ void
 FcMatrixFree (FcMatrix *mat)
 {
     if (mat != &FcIdentityMatrix)
-    {
-       FcMemFree (FC_MEM_MATRIX, sizeof (FcMatrix));
        free (mat);
-    }
 }
 
 FcBool