summaryrefslogtreecommitdiff
path: root/japanese/iv/files/patch-cn
blob: 72afe13bf95864c66742c3a83d2a3a860a240555 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
diff -Ncr src/lib/IV-X11/xjivfunc.c src/lib/IV-X11/xjivfunc.c
*** src/lib/IV-X11/xjivfunc.c	Sat Feb  6 19:11:35 1999
--- src/lib/IV-X11/xjivfunc.c	Sat Feb  6 19:05:50 1999
***************
*** 110,115 ****
--- 110,116 ----
  	    rb += c.rbearing;
  	}
      }
+     delete[] ss;
      return rb;
  }
  
***************
*** 175,180 ****
--- 176,182 ----
  	    w += c.width;
  	}
      }
+     delete[] ss;
      return w;
  }
  
***************
*** 248,253 ****
--- 250,256 ----
  	    }
  	}
      }
+     delete[] ss;
      return a;
  }
  
***************
*** 321,326 ****
--- 324,330 ----
  	    }
  	}
      }
+     delete[] ss;
      return d;
  }
  
***************
*** 404,409 ****
--- 408,414 ----
  	    XDrawString(dpy, d, gc, x, y, (const char*)ss, sl);
  	}
      }
+     delete[] ss;
  }
  
  void JIVDrawImageString(XDisplay *dpy, XDrawable d, GC gc, const Font* f,
***************
*** 487,492 ****
--- 492,498 ----
  	    XDrawImageString(dpy, d, gc, x, y, (const char*)ss, sl);
  	}
      }
+     delete[] ss;
  }
  
  #endif /* JIV */