Files
ports/www/flashplugin-firefox/files/patch-plugin.c
T
Sergey Matveychuk a910bdc6d6 flash plugin for mozilla firefox browser
PR:		ports/69126
Submitted by:	Roman Y. Bogdanov <sam@brj.pp.ru>
Approved by:	krion (mentor) (implicitly)
2004-07-21 05:57:34 +00:00

21 lines
447 B
C

*** plugin.c.old Mon Jun 12 10:24:09 2000
--- plugin.c Mon Sep 30 00:48:40 2002
***************
*** 193,198 ****
--- 193,207 ----
XSync(This->dpy,False);
XFreePixmap(This->dpy, This->canvas);
shmdt(This->segInfo.shmaddr);
+ #ifndef linux
+ {
+ struct shmid_ds buf;
+
+ if (shmctl(This->segInfo.shmid, IPC_RMID, &buf) < 0) {
+ perror("shmctl");
+ }
+ }
+ #endif
FlashClose(This->fh);
This->fh = 0;