I suspect that fold-up table leg is standard rv stuff and can be replaced at any decent rv parts counter.
Here is a link tot he Go-RV.com online catalog. You have to select a local dealer to get into the catalog, but once you do that, you can browse around for all kinds of stuff.
GO-RV.com - RV On-line Catalog
(If none of your local dealers is listed, not to worry, just pick one in your state or province and you can get into the catalog.)
Almost every RV parts department in North America uses the items listed in this catalog. You should be able to match your table leg.
__________________
__________________
'12 F250 4x4 Super Duty PowerStroke 6.7 diesel
2011 to present: '11 Cougar 326MKS
1999 to 2011: '99 Sunline T-2453
SUN264 * Amateur Radio kd2iat monitoring 146.52